1
Fork 0

add positional arg to the syntax and parser

This commit is contained in:
Jake Wheat 2016-02-21 23:36:47 +02:00
parent 64d3b742b4
commit d8b351472f
4 changed files with 18 additions and 3 deletions
tools/Language/SQL/SimpleSQL

View file

@ -60,9 +60,9 @@ Tests for parsing value expressions
> ]
> parameter :: TestItem
> parameter = Group "parameter" $ map (uncurry (TestValueExpr ansi2011))
> [("?", Parameter)
> ]
> parameter = Group "parameter"
> [TestValueExpr ansi2011 "?" Parameter
> ,TestValueExpr postgres "$13" $ PositionalArg 13]
> dots :: TestItem