From 8e7ce62c2011b725c0f875a86b27e12c5489dae8 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 31 Mar 2015 04:29:02 +0200 Subject: lex, parser: fix a few numbers ;) --- src/lex.cpp | 2 +- src/lex.hpp | 4 ++-- 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 + Copyright (c) 2013-2015, Matthias Schiffer 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 + Copyright (c) 2013-2015, Matthias Schiffer 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, -- cgit v1.2.3