sebfisch / haskell-regexp

Regular Expression Matching in Haskell
http://sebfisch.github.com/haskell-regexp/
Other
34 stars 5 forks source link

better parse errors #12

Open sebfisch opened 14 years ago

sebfisch commented 14 years ago

Instead of calling the error function, throw an appropriate Exception when a parse error occurs.

Show unexpected token(s) instead of a generic error message.