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