change the ints in the syntax to be integers
partially add buildExprParser hack to deal with some nested prefix and postfix unary operators add new file which starts going through the sql2003 grammar to try to create lots of examples for comprehensive testing of sql2003 support. replace the lexers with lexers from the tutorial project
This commit is contained in:
parent
8b1fa81de7
commit
89015144f9
4 changed files with 2983 additions and 158 deletions
Language/SQL/SimpleSQL
|
@ -57,7 +57,7 @@
|
|||
> | IntervalLit
|
||||
> {ilLiteral :: String -- ^ literal text
|
||||
> ,ilUnits :: String -- ^ units
|
||||
> ,ilPrecision :: Maybe Int -- ^ precision
|
||||
> ,ilPrecision :: Maybe Integer -- ^ precision
|
||||
> }
|
||||
> -- | identifier without dots
|
||||
> | Iden Name
|
||||
|
@ -130,8 +130,8 @@
|
|||
|
||||
> -- | Represents a type name, used in casts.
|
||||
> data TypeName = TypeName String
|
||||
> | PrecTypeName String Int
|
||||
> | PrecScaleTypeName String Int Int
|
||||
> | PrecTypeName String Integer
|
||||
> | PrecScaleTypeName String Integer Integer
|
||||
> deriving (Eq,Show,Read,Data,Typeable)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue