checkpoint
[sbp.git] / tests / meta.g
index 4b4df1f..2f062c4 100644 (file)
@@ -12,7 +12,7 @@ conjuncts   ::=  sequence
 
 ps          ::= e*/ws => "ps"
 psx         ::= ps
-              > ps ws ^"/" e
+              > ps ^"/" e /ws
 sequence    ::= psx
               | psx ^"=>" (word|quoted) /ws
 
@@ -26,10 +26,10 @@ e        ::=  word                          => "nonTerminal"
            |  quoted                        => "literal"
            |    ^"()"
            |    ^"{" sequence "}"       /ws
-           |    ^"["  (range*) "]"
-           |    ^"[~" (range*) "]"
+           |    ^"["  range* "]"
+           |    ^"[~" range* "]"
            |    ^"^" quoted             /ws
-           |    ^"!" e                  /ws
+//           |    ^"!" e                  /ws
 
            |  (e ws ^"**" > e ws ^"*")
            |  e ^"*/" e                 /ws