Allow lookahead to be broken down further after performing reductions
This commit is contained in:
parent
0e2bbbd7ee
commit
c3a242740b
3 changed files with 164 additions and 98 deletions
|
|
@ -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 "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue