[m-rev.] for review: --max-error-line-width

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Mar 30 23:29:26 AEDT 2010


On Tue, 30 Mar 2010, Peter Wang wrote:

> Branches: main, 10.04
>
> Add an option `--max-error-line-width <n>' to adjust the maximum line width for
> error messages.
>
> compiler/options.m:
> doc/user_guide.texi:
> NEWS:
>        Add and document the option.
>
> compiler/error_util.m:
>        Make error message output predicates take globals arguments and get the
>        maximum line width from that.
>
>        Delete write_error_pieces_not_first_line and
>        write_error_pieces_maybe_first_line which are obsolete and unused.
>
> compiler/abstract_mode_constraints.m:
> compiler/accumulator.m:
> compiler/compile_target_code.m:
> compiler/complexity.m:
> compiler/fact_table.m:
> compiler/mercury_compile.m:
> compiler/mercury_compile_mlds_back_end.m:
> compiler/module_cmds.m:
> compiler/options_file.m:
> compiler/ordering_mode_constraints.m:
> compiler/pred_table.m:
> compiler/prop_mode_constraints.m:
> compiler/term_constr_errors.m:
> compiler/term_errors.m:
>        Conform to changes.
>
> tests/invalid/Mercury.options:
> tests/invalid/Mmakefile:
> tests/invalid/max_error_line_width.err_exp:
> tests/invalid/max_error_line_width.m:
>        Add a test case.

That looks fine.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list