aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-04-08 21:53:15 +0800
committerPetteri Räty <petsku@petteriraty.eu>2011-04-09 16:02:52 +0300
commit842c390d16c128f5271f193b26bd35a0a5c97ef2 (patch)
tree1f488cd4c8206171efbc7e819c36c0c4f7c5508e /test
parentRemove useless arithmetic_part rule (diff)
downloadlibbash-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.cpp2
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)