X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Fdemo.g;fp=tests%2Fdemo.g;h=a85b0ba4df00008204af1428ba1f2d49646706a9;hp=9a2ef376b1b6ef58aca2921a87dfc670260d9b40;hb=2ce79345d1c7533a1328fab2814f467af5aefb15;hpb=524d11f5988dd94b1977d78a5c9378a6f59f0cc9 diff --git a/tests/demo.g b/tests/demo.g index 9a2ef37..a85b0ba 100644 --- a/tests/demo.g +++ b/tests/demo.g @@ -1,3 +1,4 @@ +s = Expr [\n ]!* Expr = Expr ^"+" Expr /ws | Expr ^"-" Expr /ws @@ -7,9 +8,9 @@ Expr = Expr ^"+" Expr /ws | ^"(" Expr ")" /ws - | numeric:[0-9]++ + | numeric::[0-9]++ -ws = [ \r\n]** +ws = [ \r\n]!**