summaryrefslogtreecommitdiffstats
path: root/src/lex.hpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-04-10 18:01:10 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-04-10 18:01:10 +0200
commit634e5db20969023f7545ad0780181b0d3085567d (patch)
treed231dd42c6fd48e6ac52aafbf79cd637b6d1e9ea /src/lex.hpp
parent650fff74dee63fd69a150470bf9b71c0ea8d4b13 (diff)
downloadsolar-634e5db20969023f7545ad0780181b0d3085567d.tar
solar-634e5db20969023f7545ad0780181b0d3085567d.zip
Don't parse keywords in the lexer
Diffstat (limited to 'src/lex.hpp')
-rw-r--r--src/lex.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lex.hpp b/src/lex.hpp
index bbf1de2..417c6e4 100644
--- a/src/lex.hpp
+++ b/src/lex.hpp
@@ -51,6 +51,7 @@ private:
std::FILE *file;
bool needspace;
+ bool dumb_mode;
size_t start;
size_t end;
@@ -69,8 +70,6 @@ private:
int unterminated_string(parse_token_value_t *value);
int lex_string(parse_token_value_t *value);
- //int lex_number(parse_token_value_t *value);
- int lex_keyword(parse_token_value_t *value);
int lex_block(parse_token_value_t *value);
int lex_symbol(parse_token_value_t *value);