X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Fmeta.g;h=ed87f5c555bc4abb1198a6c8170d5c9cfa249195;hp=11fee670fbbc658322cc91004c2ceed3e7c4be1f;hb=87f214f3da9f43c3ab93923313845c372f9a96be;hpb=2690f6c749f117a103c57d651d89f1b4fbf1316d diff --git a/tests/meta.g b/tests/meta.g index 11fee67..ed87f5c 100644 --- a/tests/meta.g +++ b/tests/meta.g @@ -1,5 +1,5 @@ s ::= ws grammar ws => "gram" -ws !::= w** +ws !::= w** | ws "//" ([~\n]*) "\n" ws wp !::= w++ grammar ::= r +/ ws => "grammar" @@ -45,7 +45,6 @@ e ::= word => "nonTerminal" | "(" word ^")" /ws > ^"(" alternatives ")" /ws w !::= " " - | "//" ([~\n]*) "\n" | "\n" | "\r" word ::= [a-zA-Z0-9_]++