Lines Matching refs:LastChar
41 static int LastChar = ' ';
44 while (isspace(LastChar))
45 LastChar = getchar();
47 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
48 IdentifierStr = LastChar;
49 while (isalnum((LastChar = getchar())))
50 IdentifierStr += LastChar;
57 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
60 NumStr += LastChar;
61 LastChar = getchar();
62 } while (isdigit(LastChar) || LastChar == '.');
68 if (LastChar == '#') {
70 do LastChar = getchar();
71 while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
73 if (LastChar != EOF)
78 if (LastChar == EOF)
82 int ThisChar = LastChar;
83 LastChar = getchar();