X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Fmeta.g;h=956711b881f136c5f0abbcc4abec875fc52aebf3;hp=f414867da2c83faf7a344d9353d24dc89932b750;hb=1eea118232a2c1da8228033ed876bc0b3b49c592;hpb=7c6a0455c2095f83ef6c986706a3b1f14eee8edb diff --git a/tests/meta.g b/tests/meta.g index f414867..956711b 100644 --- a/tests/meta.g +++ b/tests/meta.g @@ -12,15 +12,14 @@ RHS = (Sequence +/ (ws! "|" ws!)) +/ (ws! ">" ws!) Elements = e*/ws -PreSequence = PS +PreSequence = Elements | (Quoted|Word) ^"::" PreSequence /ws > PreSequence ^"/" e /ws | PreSequence ^"->" e /ws -PS = Elements Sequence = psx:: PreSequence - | Sequence ^"&" PS /ws - | Sequence ^"&~" PS /ws + | Sequence ^"&" Elements /ws + | Sequence ^"&~" Elements /ws ec = ~[\-\]\\] | escaped