Allow lookahead to be broken down further after performing reductions

This commit is contained in:
Max Brunsfeld 2016-07-01 15:08:19 -07:00
parent 0e2bbbd7ee
commit c3a242740b
3 changed files with 164 additions and 98 deletions

View file

@ -224,7 +224,7 @@ describe("Parser", [&]() {
"(identifier) "
"(math_op (number) (identifier)))))");
insert_text(strlen("x ^ (100 + abc"), ".d");
insert_text(strlen("x * (100 + abc"), ".d");
assert_root_node(
"(program (expression_statement (math_op "