1
Fork 0

add comments to statement syntax

This commit is contained in:
Jake Wheat 2016-02-22 23:28:59 +02:00
parent c56a1c8fc8
commit 7f08e51c74
3 changed files with 7 additions and 5 deletions

View file

@ -628,6 +628,9 @@ which have been changed to try to improve the layout of the output.
> adminOptFor NoAdminOptionFor = empty
> statement _ (StatementComment cs) = vcat $ map comment cs
== sessions

View file

@ -537,6 +537,7 @@ I'm not sure if this is valid syntax or not.
> | SetNames
> | SetTransform
> | SetCollation -}
> | StatementComment [Comment]
> deriving (Eq,Show,Read,Data,Typeable)
> data DropBehaviour =

8
TODO
View file

@ -1,16 +1,14 @@
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:
query hints, join hints
unescaping identifiers and strings
continuation strings testing
add tests for comment pretty printing:
use pretty then lex
work on better dialect design: more basic customizability and rule /
callback driven