add support for @var and #var in sqlserver and oracle dialects respectively
This commit is contained in:
parent
9fd2970f26
commit
b22cde4100
3 changed files with 35 additions and 10 deletions
tools/Language/SQL/SimpleSQL
|
@ -282,14 +282,14 @@ the + or -.
|
|||
> sqlServerLexerTests :: TestItem
|
||||
> sqlServerLexerTests = Group "sqlServerLexTests" $
|
||||
> [ LexTest sqlserver s t | (s,t) <-
|
||||
> [--("@variable", [(Identifier (Just ("@", "")) "variable")])
|
||||
> [("@variable", [(PrefixedVariable '@' "variable")])
|
||||
> --,("[quoted identifier]", [(Identifier (Just ("[", "]")) "variable")])
|
||||
> ]]
|
||||
|
||||
> oracleLexerTests :: TestItem
|
||||
> oracleLexerTests = Group "oracleLexTests" $
|
||||
> [ LexTest oracle s t | (s,t) <-
|
||||
> [--("#variable", [(Identifier (Just ("#", "")) "variable")])
|
||||
> [("#variable", [(PrefixedVariable '#' "variable")])
|
||||
> ]
|
||||
> ]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue