diff options
author | 2011-07-06 22:08:44 +0800 | |
---|---|---|
committer | 2011-07-20 16:29:56 +0800 | |
commit | 3c33fa7935f0ba4294241944295b343f8165412d (patch) | |
tree | bd46151753135832dd085706a22b6101f958d7b9 /test | |
parent | Parser: fix a bug in escaped double quote handling (diff) | |
download | libbash-3c33fa7935f0ba4294241944295b343f8165412d.tar.gz libbash-3c33fa7935f0ba4294241944295b343f8165412d.tar.bz2 libbash-3c33fa7935f0ba4294241944295b343f8165412d.zip |
Parser: handle command substitution in lexer rules
Inside command substitution, many characters are allowed. For example,
MY_PV="$(replace_version_separator 1 '')" will reserve the single quotes
for command substitution. Now we support this by handling command
substitution in the lexer rules and call back to parser in walker
grammar.
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 715ccf5..2113926 100644 --- a/test/post_check.cpp +++ b/test/post_check.cpp @@ -35,7 +35,7 @@ static void check_file_size(const char *path, uintmax_t size_max) TEST(post_check, lexer_size) { - check_file_size("libbashLexer.cpp", 1024 * 1024); + check_file_size("libbashLexer.cpp", 2 * 1024 * 1024); } TEST(post_check, parser_size) |