Lines Matching refs:LastChar
52 static int LastChar = ' ';
55 while (isspace(LastChar))
56 LastChar = getchar();
58 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
59 IdentifierStr = LastChar;
60 while (isalnum((LastChar = getchar())))
61 IdentifierStr += LastChar;
76 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
79 NumStr += LastChar;
80 LastChar = getchar();
81 } while (isdigit(LastChar) || LastChar == '.');
87 if (LastChar == '#') {
89 do LastChar = getchar();
90 while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
92 if (LastChar != EOF)
97 if (LastChar == EOF)
101 int ThisChar = LastChar;
102 LastChar = getchar();