1
Fork 0

fix positioning in lexer? and fix line comment token missing trailing \n

This commit is contained in:
Jake Wheat 2015-08-02 15:29:35 +03:00
parent c479e5e8f8
commit 3b5deec2e5
3 changed files with 23 additions and 11 deletions
Language/SQL/SimpleSQL

View file

@ -489,7 +489,7 @@ I'm not sure if this is valid syntax or not.
> data TableElement =
> ColumnDef Name TypeName
> (Maybe DefaultClause)
> -- (Maybe DefaultClause)
> -- (Maybe ColumnConstraintDef)
> -- (Maybe CollateClause)
> -- | TableConstraintDef
@ -498,10 +498,10 @@ I'm not sure if this is valid syntax or not.
> {-data TableConstraintDef
> deriving (Eq,Show,Read,Data,Typeable) -}
> data DefaultClause =
> {-data DefaultClause =
> DefaultClause ValueExpr
> | IdentityColumnSpec
> | GenerationClause
> | GenerationClause-}
> {-data ColumnConstraintDef =
> | NotNullConstraint