1
Fork 0

lexer tweaks

refactor dollarstring parser
fix to not allow three or more adjacent colons in postgres dialect
This commit is contained in:
Jake Wheat 2016-02-15 20:34:58 +02:00
parent b4c2276a1f
commit 31f9912faa
2 changed files with 64 additions and 74 deletions
tools/Language/SQL/SimpleSQL

View file

@ -246,6 +246,9 @@ the + or -.
> -- need more tests for */ to make sure it is caught if it is in the middle of a
> -- sequence of symbol letters
> [LexFails postgres "*/"
> ,LexFails ansi2011 ":::"
> ,LexFails ansi2011 "::::"
> ,LexFails ansi2011 ":::::"
> ,LexFails postgres "@*/"
> ,LexFails postgres "-*/"
> ,LexFails postgres "12e3e4"