lexer tweaks
combine hostparam with prefixed variable refactor some of the lexing code slightly fix error in tests where it was using the ansi dialect instead of postgres for testing :::, etc.
This commit is contained in:
parent
31f9912faa
commit
ee4098e189
5 changed files with 24 additions and 41 deletions
tools/Language/SQL/SimpleSQL
|
@ -1384,11 +1384,11 @@ TODO: add the missing bits
|
|||
> parameterSpecification :: TestItem
|
||||
> parameterSpecification = Group "parameter specification"
|
||||
> $ map (uncurry (TestValueExpr ansi2011))
|
||||
> [(":hostparam", HostParameter "hostparam" Nothing)
|
||||
> [(":hostparam", HostParameter ":hostparam" Nothing)
|
||||
> ,(":hostparam indicator :another_host_param"
|
||||
> ,HostParameter "hostparam" $ Just "another_host_param")
|
||||
> ,HostParameter ":hostparam" $ Just ":another_host_param")
|
||||
> ,("?", Parameter)
|
||||
> ,(":h[3]", Array (HostParameter "h" Nothing) [NumLit "3"])
|
||||
> ,(":h[3]", Array (HostParameter ":h" Nothing) [NumLit "3"])
|
||||
> ]
|
||||
|
||||
<current collation specification> ::=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue