Lines Matching refs:LastChar
34 static int LastChar = ' ';
37 while (isspace(LastChar))
38 LastChar = getchar();
40 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
41 IdentifierStr = LastChar;
42 while (isalnum((LastChar = getchar())))
43 IdentifierStr += LastChar;
50 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
53 NumStr += LastChar;
54 LastChar = getchar();
55 } while (isdigit(LastChar) || LastChar == '.');
61 if (LastChar == '#') {
63 do LastChar = getchar();
64 while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
66 if (LastChar != EOF)
71 if (LastChar == EOF)
75 int ThisChar = LastChar;
76 LastChar = getchar();