Commit a85ab68b authored by simonmar's avatar simonmar
Browse files

[project @ 2006-01-10 14:39:01 by simonmar]

Add a TODO
parent 61b03959
......@@ -1381,6 +1381,10 @@ lexToken = do
span `seq` setLastToken span bytes
t span buf bytes
-- ToDo: Alex reports the buffer at the start of the erroneous lexeme,
-- but it would be more informative to report the location where the
-- error was actually discovered, especially if this is a decoding
-- error.
reportLexError loc1 loc2 buf str =
c = fst (nextChar buf)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment