Lines Matching full:lastchar
43 static int LastChar = ' ';
46 while (isspace(LastChar))
47 LastChar = getchar();
49 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
50 IdentifierStr = LastChar;
51 while (isalnum((LastChar = getchar())))
52 IdentifierStr += LastChar;
61 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
64 NumStr += LastChar;
65 LastChar = getchar();
66 } while (isdigit(LastChar) || LastChar == '.');
72 if (LastChar == '#') {
75 LastChar = getchar();
76 while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
78 if (LastChar != EOF)
83 if (LastChar == EOF)
87 int ThisChar = LastChar;
88 LastChar = getchar();