Lines Matching defs:LastChar
50 static int LastChar = ' ';
53 while (isspace(LastChar))
54 LastChar = getchar();
56 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
57 IdentifierStr = LastChar;
58 while (isalnum((LastChar = getchar())))
59 IdentifierStr += LastChar;
78 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
81 NumStr += LastChar;
82 LastChar = getchar();
83 } while (isdigit(LastChar) || LastChar == '.');
89 if (LastChar == '#') {
92 LastChar = getchar();
93 while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
95 if (LastChar != EOF)
100 if (LastChar == EOF)
104 int ThisChar = LastChar;
105 LastChar = getchar();