Lines Matching refs:LastChar
33 static int LastChar = ' ';
36 while (isspace(LastChar))
37 LastChar = getchar();
39 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
40 IdentifierStr = LastChar;
41 while (isalnum((LastChar = getchar())))
42 IdentifierStr += LastChar;
49 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
52 NumStr += LastChar;
53 LastChar = getchar();
54 } while (isdigit(LastChar) || LastChar == '.');
60 if (LastChar == '#') {
62 do LastChar = getchar();
63 while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
65 if (LastChar != EOF)
70 if (LastChar == EOF)
74 int ThisChar = LastChar;
75 LastChar = getchar();