diff options
author | Mu Qiao <qiaomuf@gentoo.org> | 2011-04-08 21:53:15 +0800 |
---|---|---|
committer | Petteri Räty <petsku@petteriraty.eu> | 2011-04-09 16:02:52 +0300 |
commit | 842c390d16c128f5271f193b26bd35a0a5c97ef2 (patch) | |
tree | 1f488cd4c8206171efbc7e819c36c0c4f7c5508e /test | |
parent | Remove useless arithmetic_part rule (diff) | |
download | libbash-842c390d16c128f5271f193b26bd35a0a5c97ef2.tar.gz libbash-842c390d16c128f5271f193b26bd35a0a5c97ef2.tar.bz2 libbash-842c390d16c128f5271f193b26bd35a0a5c97ef2.zip |
Transform ESC_CHAR token into a parser rule
ESC_CHAR results in huge lexer file size. After the transformation,
the size of lexer is reduced by 1/3.
Diffstat (limited to 'test')
-rw-r--r-- | test/post_check.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/post_check.cpp b/test/post_check.cpp index 1385290..ebe0409 100644 --- a/test/post_check.cpp +++ b/test/post_check.cpp @@ -36,7 +36,7 @@ static void check_file_size(const char *path, uintmax_t size_max) TEST(post_check, lexer_size) { - check_file_size("libbashLexer.c", 1024 * 1024); + check_file_size("libbashLexer.c", 512 * 1024); } TEST(post_check, parser_size) |