reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

examples/Kaleidoscope/Chapter5/toy.cpp
   67   while (isspace(LastChar))
   68     LastChar = getchar();
   70   if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
   71     IdentifierStr = LastChar;
   72     while (isalnum((LastChar = getchar())))
   73       IdentifierStr += LastChar;
   92   if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
   92   if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
   95       NumStr += LastChar;
   96       LastChar = getchar();
   97     } while (isdigit(LastChar) || LastChar == '.');
   97     } while (isdigit(LastChar) || LastChar == '.');
  103   if (LastChar == '#') {
  106       LastChar = getchar();
  107     while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
  107     while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
  107     while (LastChar != EOF && LastChar != '\n' && LastChar != '\r');
  109     if (LastChar != EOF)
  114   if (LastChar == EOF)
  118   int ThisChar = LastChar;
  119   LastChar = getchar();