diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-31 04:29:02 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-31 04:34:44 +0200 |
commit | 8e7ce62c2011b725c0f875a86b27e12c5489dae8 (patch) | |
tree | 028564b484e21ddf69545e298b99ac8944049b7f | |
parent | a0cc8fcb087845096462b8f5790bdbc261d3f2a8 (diff) | |
download | solar-8e7ce62c2011b725c0f875a86b27e12c5489dae8.tar solar-8e7ce62c2011b725c0f875a86b27e12c5489dae8.zip |
lex, parser: fix a few numbers ;)
-rw-r--r-- | src/lex.cpp | 2 | ||||
-rw-r--r-- | src/lex.hpp | 4 | ||||
-rw-r--r-- | src/parser.hpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/lex.cpp b/src/lex.cpp index a4c64c4..05a0a9d 100644 --- a/src/lex.cpp +++ b/src/lex.cpp @@ -1,5 +1,5 @@ /* - Copyright (c) 2013-2014, Matthias Schiffer <mschiffer@universe-factory.net> + Copyright (c) 2013-2015, Matthias Schiffer <mschiffer@universe-factory.net> All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/lex.hpp b/src/lex.hpp index ea8621b..36e3c92 100644 --- a/src/lex.hpp +++ b/src/lex.hpp @@ -1,5 +1,5 @@ /* - Copyright (c) 2013-2014, Matthias Schiffer <mschiffer@universe-factory.net> + Copyright (c) 2013-2015, Matthias Schiffer <mschiffer@universe-factory.net> All rights reserved. Redistribution and use in source and binary forms, with or without @@ -55,7 +55,7 @@ private: size_t start; size_t end; size_t tok_len; - char buffer[65556]; + char buffer[65536]; bool advance(); diff --git a/src/parser.hpp b/src/parser.hpp index 6d21796..552dc37 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -34,7 +34,7 @@ namespace solar { enum parser_token_t { - TOK_TERM = 1, + TOK_TERM = 256, TOK_NONTERM, TOK_BLOCK, TOK_CHAR, |