1
Fork 0

small fixes

fix positions?
small fixes to haddock
add notes to top of lexer module
simplify line comment lexer
remove some trys from lexer
fix the block comment parser to return all the comment text when there
  are embedded / * in the comment
refactor the symbol, keyword and identifier blacklist checking into
  the low level token parsers instead of a separate step using guard
This commit is contained in:
Jake Wheat 2015-08-01 13:22:07 +03:00
parent 900d19f4c1
commit bbb793c160
3 changed files with 49 additions and 68 deletions
tools/Language/SQL/SimpleSQL

View file

@ -51,8 +51,7 @@ Test for the lexer
> -- block comment
> ++ map (\c -> (c, [BlockComment c]))
> ["/**/", "/* */","/* this is a comment */"
> -- todo: bug in the lexer, fix this
> --,"/* this *is/ a comment */"
> ,"/* this *is/ a comment */"
> ]