Files
mercury/tests/invalid/malformed_ite.err_exp
Zoltan Somogyi 96d16e2dcd Use color in parse_goal.m.
compiler/parse_goal.m:
    Add color to the diagnostics generated by this module.

    In a few cases, improve the wording of the diagnostic.

tests/invalid/malformed_ite.err_exp:
tests/invalid/trace_goal_env.err_exp:
tests/invalid/try_bad_params.err_exp:
tests/warnings/unknown_warning.err_exp:
    Expect updated diagnostics.
2024-05-15 08:33:35 +10:00

850 B

malformed_ite.m:027: Error: malformed if-then-else; this `then' is missing its
malformed_ite.m:027: `if'.
malformed_ite.m:035: Error: malformed if-then-else; replace the `->' with
malformed_ite.m:035: `then'.
malformed_ite.m:045: Error: malformed if-then-else; replace the `;' with
malformed_ite.m:045: `else'.
malformed_ite.m:051: Error: malformed if-then-else; replace the `->' with
malformed_ite.m:051: `then', and add an `if' before the condition.
malformed_ite.m:061: Error: malformed if-then-else; replace the `;' with
malformed_ite.m:061: `else'.
malformed_ite.m:067: Error: malformed if-then-else; this `if' has no `then'.