Lines Matching refs:LastChar
74 static int LastChar = ' ';
77 while (isspace(LastChar))
78 LastChar = getchar();
80 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
81 IdentifierStr = LastChar;
82 while (isalnum((LastChar = getchar())))
83 IdentifierStr += LastChar;
98 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
101 NumStr += LastChar;
102 LastChar = getchar();
103 } while (isdigit(LastChar) || LastChar == '.');
109 if (LastChar == '#') {
111 do LastChar = getchar();
112 while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
114 if (LastChar != EOF)
119 if (LastChar == EOF)
123 int ThisChar = LastChar;
124 LastChar = getchar();