Lines Matching refs:LastChar
99 static int LastChar = ' ';
102 while (isspace(LastChar))
103 LastChar = getchar();
105 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
106 IdentifierStr = LastChar;
107 while (isalnum((LastChar = getchar())))
108 IdentifierStr += LastChar;
123 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
126 NumStr += LastChar;
127 LastChar = getchar();
128 } while (isdigit(LastChar) || LastChar == '.');
134 if (LastChar == '#') {
136 do LastChar = getchar();
137 while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
139 if (LastChar != EOF)
144 if (LastChar == EOF)
148 int ThisChar = LastChar;
149 LastChar = getchar();