Home | History | Annotate | Download | only in Chapter2

Lines Matching refs:LastChar

28   static int LastChar = ' ';
31 while (isspace(LastChar))
32 LastChar = getchar();
34 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
35 IdentifierStr = LastChar;
36 while (isalnum((LastChar = getchar())))
37 IdentifierStr += LastChar;
44 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
47 NumStr += LastChar;
48 LastChar = getchar();
49 } while (isdigit(LastChar) || LastChar == '.');
55 if (LastChar == '#') {
57 do LastChar = getchar();
58 while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
60 if (LastChar != EOF)
65 if (LastChar == EOF)
69 int ThisChar = LastChar;
70 LastChar = getchar();