1
Fork 0

refactor the identifier syntax

This commit is contained in:
Jake Wheat 2016-02-12 14:13:47 +02:00
parent 52f035b718
commit aa5c2e89c7
16 changed files with 830 additions and 826 deletions
tools/Language/SQL/SimpleSQL

View file

@ -19,7 +19,7 @@ limit syntax
> backtickQuotes :: TestItem
> backtickQuotes = Group "backtickQuotes" (map (uncurry (TestValueExpr mysql))
> [("`test`", Iden [QuotedName "`" "`" "test"])
> [("`test`", Iden [Name (Just ("`","`")) "test"])
> ]
> ++ [ParseValueExprFails ansi2011 "`test`"]
> )
@ -36,5 +36,5 @@ limit syntax
> where
> sel = makeSelect
> {qeSelectList = [(Star, Nothing)]
> ,qeFrom = [TRSimple [Name "t"]]
> ,qeFrom = [TRSimple [Name Nothing "t"]]
> }