From b85043b3f9333810a3e762701b18548442f6f164 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 26 May 2015 19:43:11 +0100 Subject: Don't coincidentally match the test case --- project2/sql/sql.ll | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/project2/sql/sql.ll b/project2/sql/sql.ll index 924972c..39f9052 100644 --- a/project2/sql/sql.ll +++ b/project2/sql/sql.ll @@ -20,7 +20,9 @@ term ; any ({other}|{space}) quote ' quote_apos '' -dollarquote ("$".[a-zA-Z]."$"|"$$") +dolq_start [A-Za-z\200-\377_] +dolq_cont [A-Za-z\200-\377_0-9] +dollarquote \$({dolq_start}{dolq_cont}*)?\$ %x COMMENT %x STATEMENT -- cgit v1.2.3