fix positioning in lexer? and fix line comment token missing trailing \n
This commit is contained in:
parent
c479e5e8f8
commit
3b5deec2e5
3 changed files with 23 additions and 11 deletions
Language/SQL/SimpleSQL
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue