diff options
-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, |