summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-05-26 19:43:11 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-05-26 19:43:11 +0100
commitb85043b3f9333810a3e762701b18548442f6f164 (patch)
tree4ac3e0e0d6b559d2b6ee12d21e184c33df6e0dff
parentDepend on correct schema test file (diff)
downloadproject2-b85043b3f9333810a3e762701b18548442f6f164.tar.bz2
project2-b85043b3f9333810a3e762701b18548442f6f164.tar.xz
project2-b85043b3f9333810a3e762701b18548442f6f164.zip
Don't coincidentally match the test case
-rw-r--r--project2/sql/sql.ll4
1 files changed, 3 insertions, 1 deletions
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