X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=tests%2Fmeta.g;h=eba580e5c67569fc0ced8cc6e8b57768e307cb18;hb=92e027ee41d33f590ede1e23e27224712980c533;hp=31397949a77b10efdcf15e5b5b02685a607bd407;hpb=8ac1795e6098dcf10b94a854351162695181b83d;p=sbp.git diff --git a/tests/meta.g b/tests/meta.g index 3139794..eba580e 100644 --- a/tests/meta.g +++ b/tests/meta.g @@ -8,13 +8,13 @@ Conjuncts ::= Sequence | Sequence ^"&" Elements /ws | Sequence ^"&~" Elements /ws Elements ::= e*/ws +NamedElements ::= (e | word ^":" e) */ ws -psy ::= Elements => "ps" - | psy !wp ^"/" !ws e - | psy ^"->" e /ws - | psy ^"=>" ("[]"|"()"|word|Quoted) /ws -Sequence ::= Quoted => "qprod" - > psy => "psx" +PreSequence ::= NamedElements => "ps" + | PreSequence !wp ^"/" !ws e + | PreSequence ^"->" e /ws + | PreSequence ^"=>" ("[]"|"()"|word|Quoted) /ws +Sequence ::= PreSequence => "psx" ec ::= ~[\-\]\\] | escaped