mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 12:53:47 +00:00
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.
850 B
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'.
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'.