fix parsing of quoted keywords
This commit is contained in:
parent
c5b8df7e2f
commit
ce0eeb392a
4 changed files with 38 additions and 0 deletions
tools/Language/SQL/SimpleSQL
|
@ -50,6 +50,7 @@ Tests for parsing scalar expressions
|
|||
> [("iden1", Iden [Name Nothing "iden1"])
|
||||
> --,("t.a", Iden2 "t" "a")
|
||||
> ,("\"quoted identifier\"", Iden [Name (Just ("\"","\"")) "quoted identifier"])
|
||||
> ,("\"period\"", Iden [Name (Just ("\"","\"")) "period"])
|
||||
> ]
|
||||
|
||||
> star :: TestItem
|
||||
|
@ -413,3 +414,4 @@ target_string
|
|||
> ]
|
||||
> where
|
||||
> t fn = TestScalarExpr ansi2011 (fn ++ "(a)") $ App [Name Nothing fn] [Iden [Name Nothing "a"]]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue