From db888e59c3b40da15ad996ec84d1595bc44e042e Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 6 Jul 2006 02:16:12 -0400 Subject: [PATCH] checkpoint darcs-hash:20060706061612-5007d-a085422edfd634b29174289956d5d3fc15126501.gz --- tests/meta.g | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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] -- 1.7.10.4