Lines Matching refs:LastChar
69 static int LastChar = ' ';
72 while (isspace(LastChar))
73 LastChar = getchar();
75 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
76 IdentifierStr = LastChar;
77 while (isalnum((LastChar = getchar())))
78 IdentifierStr += LastChar;
93 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
96 NumStr += LastChar;
97 LastChar = getchar();
98 } while (isdigit(LastChar) || LastChar == '.');
104 if (LastChar == '#') {
106 do LastChar = getchar();
107 while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
109 if (LastChar != EOF)
114 if (LastChar == EOF)
118 int ThisChar = LastChar;
119 LastChar = getchar();