Unit test for left recursive grammar

db4
Chris Double 2008-03-29 02:47:03 +13:00
parent dd979c8b3b
commit 261539a86a
1 changed files with 2 additions and 2 deletions

View File

@ -173,8 +173,8 @@ IN: peg.tests
#! failure of that parser. #! failure of that parser.
[ expr ] delay "+" token "1" token 3seq "1" token 2choice ; [ expr ] delay "+" token "1" token 3seq "1" token 2choice ;
{ "1" } [ { V{ V{ "1" "+" "1" } "+" "1" } } [
"1+1" expr parse parse-result-ast "1+1+1" expr parse parse-result-ast
] unit-test ] unit-test
{ t } [ { t } [