diff options
Diffstat (limited to 'lib/Lexer')
| -rw-r--r-- | lib/Lexer/Lexer.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Lexer/Lexer.cc b/lib/Lexer/Lexer.cc index acdedd0..44d40e5 100644 --- a/lib/Lexer/Lexer.cc +++ b/lib/Lexer/Lexer.cc @@ -74,6 +74,9 @@ int Lexer::readToken() { IdentifierStr += static_cast<char>(LastChar); if (IdentifierStr == "CONSTANT") return tok_constant; + if (IdentifierStr == "INCLUDE") return tok_include; + if (IdentifierStr == "GLOBAL") return tok_global; + if (IdentifierStr == "ENDGLOBAL") return tok_endglobal; if (IdentifierStr == "DECLARE") return tok_declare; if (IdentifierStr == "INTEGER") return tok_integer_kw; if (IdentifierStr == "BOOLEAN") return tok_boolean_kw; |
