aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSQLTokenizer.l
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-02-01 18:36:22 +0100
committerMax <post@wickenrode.com>2015-02-01 18:37:03 +0100
commitc25bb060a197deecc79dac86e24df8246a87db71 (patch)
tree41824938bfe4eed07903cddf8bd06f9a31505d06 /Source/SPSQLTokenizer.l
parentf2fc88bd1875d0dd6642c064c3528d0b5aeab09a (diff)
downloadsequelpro-c25bb060a197deecc79dac86e24df8246a87db71.tar.gz
sequelpro-c25bb060a197deecc79dac86e24df8246a87db71.tar.bz2
sequelpro-c25bb060a197deecc79dac86e24df8246a87db71.zip
Update lexer to reflect that backticks can actually escape themselves (won't cause visible changes)
Diffstat (limited to 'Source/SPSQLTokenizer.l')
-rw-r--r--Source/SPSQLTokenizer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPSQLTokenizer.l b/Source/SPSQLTokenizer.l
index b9170edb..f33d373d 100644
--- a/Source/SPSQLTokenizer.l
+++ b/Source/SPSQLTokenizer.l
@@ -63,7 +63,7 @@ compend {s}"end"
\"([^"\\]|\\(.|[\n\r]))*\"? { ; }
'([^'\\]|\\(.|[\n\r]))*'? { ; }
-`[^`]*`? { ; }
+`(``|[^`])*`? { ; }
"/*" { BEGIN(comment); }
<comment>[^*]* { ; }