add comments to statement syntax
This commit is contained in:
parent
c56a1c8fc8
commit
7f08e51c74
|
@ -628,6 +628,9 @@ which have been changed to try to improve the layout of the output.
|
||||||
> adminOptFor NoAdminOptionFor = empty
|
> adminOptFor NoAdminOptionFor = empty
|
||||||
|
|
||||||
|
|
||||||
|
> statement _ (StatementComment cs) = vcat $ map comment cs
|
||||||
|
|
||||||
|
|
||||||
== sessions
|
== sessions
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -537,6 +537,7 @@ I'm not sure if this is valid syntax or not.
|
||||||
> | SetNames
|
> | SetNames
|
||||||
> | SetTransform
|
> | SetTransform
|
||||||
> | SetCollation -}
|
> | SetCollation -}
|
||||||
|
> | StatementComment [Comment]
|
||||||
> deriving (Eq,Show,Read,Data,Typeable)
|
> deriving (Eq,Show,Read,Data,Typeable)
|
||||||
|
|
||||||
> data DropBehaviour =
|
> data DropBehaviour =
|
||||||
|
|
8
TODO
8
TODO
|
@ -1,16 +1,14 @@
|
||||||
medium tasks next release
|
medium tasks next release
|
||||||
|
|
||||||
rename combinequeryexpr
|
|
||||||
add comment to statements?
|
|
||||||
review simple enums to make sure they have default
|
|
||||||
use enum in sign in interval literal
|
|
||||||
|
|
||||||
syntax from hssqlppp:
|
syntax from hssqlppp:
|
||||||
query hints, join hints
|
query hints, join hints
|
||||||
|
|
||||||
unescaping identifiers and strings
|
unescaping identifiers and strings
|
||||||
continuation strings testing
|
continuation strings testing
|
||||||
|
|
||||||
|
add tests for comment pretty printing:
|
||||||
|
use pretty then lex
|
||||||
|
|
||||||
work on better dialect design: more basic customizability and rule /
|
work on better dialect design: more basic customizability and rule /
|
||||||
callback driven
|
callback driven
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue