X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Fmeta.g;h=785938668a3d956dd3467096663f67ebefe6d36e;hp=884f2aaaf4290b6146cbac95a95f6be8ab5ba68a;hb=9ded11559a1b6f817e99355b1c9e2c88042e91d4;hpb=242a8711e98cbd3ed6d05271bf910fde38e9be9a diff --git a/tests/meta.g b/tests/meta.g index 884f2aa..7859386 100644 --- a/tests/meta.g +++ b/tests/meta.g @@ -1,4 +1,4 @@ -s ::= ws grammar ws => "gram" +s ::= grammar ws => "gram" ws !::= w** | w** "//" (~[\n]*) "\n" ws wp !::= w++ grammar ::= r +/ ws => "grammar" @@ -22,6 +22,7 @@ psx ::= psy => "psy" | e "<-" psy "->" e /ws => "psylr" sequence ::= quoted => "qprod" > psx + | psx "=>" ^"[]" /ws | psx ^"=>" (word|quoted) /ws ec ::= ~[\-\]\\]