Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-21 21:17:03 -0800 (Mon, 21 Mar 2005)
Revision: 6995
Log message:
- Filter_parse: wrapped a number of grammar-related entries with a proper
handle_exn in order to make sure any error message would point to the
correct location in the .ml[i] file, as opposed to "line 0, characters 0-1"
- Lm_lexer: prefixed all the Failure error messages with "Lm_lexer: "
Together these changes replace a _very_ confusing:
> File "m_ast.mli", line 0, characters 0-1:
> Failure: character sequence is not terminated
with a much more self-explanatory:
> While processing lex_token:
> Line 183, characters 1-34:
> Failure:
> Lm_lexer: regex: character sequence is not terminated
Changes | Path |
+50 -20 | metaprl/filter/filter/filter_parse.ml |