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:
parent
900d19f4c1
commit
bbb793c160
3 changed files with 49 additions and 68 deletions
tools/Language/SQL/SimpleSQL
|
@ -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 */"
|
||||
> ]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue