summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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