Lines Matching refs:LastChar
44 static int LastChar = ' ';
47 while (isspace(LastChar))
48 LastChar = getchar();
50 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
51 IdentifierStr = LastChar;
52 while (isalnum((LastChar = getchar())))
53 IdentifierStr += LastChar;
65 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
68 NumStr += LastChar;
69 LastChar = getchar();
70 } while (isdigit(LastChar) || LastChar == '.');
76 if (LastChar == '#') {
78 do LastChar = getchar();
79 while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
81 if (LastChar != EOF)
86 if (LastChar == EOF)
90 int ThisChar = LastChar;
91 LastChar = getchar();