checkpoint
[sbp.git] / tests / meta.g
index 062bf25..d8353a6 100644 (file)
@@ -4,7 +4,7 @@
 // #include (with renaming?)
 // ANTLR uses ! and ^ suffixes
 
-s             =  ws grammar:Grammar ws
+s             =  !ws (grammar::Grammar) !ws
 Grammar       =  NonTerminal +/ ws
 NonTerminal   =  Word ^"=" RHS /ws
         
@@ -27,8 +27,9 @@ ec            = ~[\-\]\\]
 Range         = range:: ec
               |         ec ^"-" ec
 
-e             =                (Quoted|Word) ^":" e
-              > nonTerminal::          Word
+e             =//                (Quoted|Word) ^":" e
+//              > 
+              nonTerminal::          Word
               | literal::       Quoted
               |                  ^"()"
               |                  ^"{" PreSequence "}"       /ws