From: adam Date: Thu, 6 Jul 2006 06:16:12 +0000 (-0400) Subject: checkpoint X-Git-Tag: tag_for_25-Mar~190 X-Git-Url: http://git.megacz.com/?p=sbp.git;a=commitdiff_plain;h=db888e59c3b40da15ad996ec84d1595bc44e042e checkpoint darcs-hash:20060706061612-5007d-a085422edfd634b29174289956d5d3fc15126501.gz --- diff --git a/tests/meta.g b/tests/meta.g index a51109f..571b26c 100644 --- a/tests/meta.g +++ b/tests/meta.g @@ -45,16 +45,15 @@ e = (Quoted|Word) ^":" e | ^"!" e /ws | e ^"?" /ws | ^"^" Quoted - | "(" Word ^")" /ws > ^"(" RHS ")" /ws | ^"~" e - > "^^":: "^" e NonTerminalReference = Word -Literal = Quoted -Word = [a-zA-Z0-9_]++ -Quoted = "\"" ((~[\"\\] | escaped)+) "\"" - | "":: "\"\"" +Literal = Quoted +Word = [a-zA-Z0-9_]++ +Quoted = "\"" ((~[\"\\] | escaped)+) "\"" + | "":: "\"\"" + escaped = "\n":: "\\n" | "\r":: "\\r" | "\\" ~[nr]