lex, parser: fix a few numbers ;)
This commit is contained in:
parent
a0cc8fcb08
commit
8e7ce62c20
3 changed files with 4 additions and 4 deletions
|
@ -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.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
|
|
@ -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.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -55,7 +55,7 @@ private:
|
||||||
size_t start;
|
size_t start;
|
||||||
size_t end;
|
size_t end;
|
||||||
size_t tok_len;
|
size_t tok_len;
|
||||||
char buffer[65556];
|
char buffer[65536];
|
||||||
|
|
||||||
|
|
||||||
bool advance();
|
bool advance();
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
namespace solar {
|
namespace solar {
|
||||||
|
|
||||||
enum parser_token_t {
|
enum parser_token_t {
|
||||||
TOK_TERM = 1,
|
TOK_TERM = 256,
|
||||||
TOK_NONTERM,
|
TOK_NONTERM,
|
||||||
TOK_BLOCK,
|
TOK_BLOCK,
|
||||||
TOK_CHAR,
|
TOK_CHAR,
|
||||||
|
|
Reference in a new issue