Home | History | Annotate | Download | only in Chapter4

Lines Matching refs:LastChar

40   static int LastChar = ' ';
43 while (isspace(LastChar))
44 LastChar = getchar();
46 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
47 IdentifierStr = LastChar;
48 while (isalnum((LastChar = getchar())))
49 IdentifierStr += LastChar;
56 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
59 NumStr += LastChar;
60 LastChar = getchar();
61 } while (isdigit(LastChar) || LastChar == '.');
67 if (LastChar == '#') {
69 do LastChar = getchar();
70 while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
72 if (LastChar != EOF)
77 if (LastChar == EOF)
81 int ThisChar = LastChar;
82 LastChar = getchar();