X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Fmeta.g;h=f16c60a384c40cc1dd1c3adb2d79607635c93da2;hp=074b9f3e7c67d939df3364fdf54fde7ae92c953e;hb=a4e47e7742e717f9fc72455f60cdbd16a7af9fe1;hpb=65a0e50a721e1c9ef6c5f38c29229e476733748b diff --git a/tests/meta.g b/tests/meta.g index 074b9f3..f16c60a 100644 --- a/tests/meta.g +++ b/tests/meta.g @@ -1,5 +1,5 @@ s ::= w* Grammar w* => "gram" -ws !::= w* +ws !::= w** grammar ::= R+/ws => "grammar" Grammar ::= R+ => "grammar" R ::= word ^"::=" Alternatives @@ -12,7 +12,7 @@ EquiAlt ::= Conjuncts +/ "|" => "alternatives" sequence ::= Es ^"/" E /ws > Es -es ::= E+/ws +Es ::= E+ Conjuncts ::= rewrite | rewrite ^"&" sequence