mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 09:53:36 +00:00
compiler/parse_module.m:
When complaining about missing ":- interface"/":- implementation" markers,
reword the diagnostic to clarify that these should come after
the initial ":- module" declaration.
tests/invalid_make_int/missing_initial_section.int_err_exp:
tests/invalid_nodepend/bigtest.err_exp:
tests/invalid_nodepend/errors_1.err_exp:
tests/invalid_nodepend/errors_2.err_exp:
tests/invalid_nodepend/errors_3.err_exp:
tests/invalid_nodepend/funcs_as_preds.err_exp:
tests/invalid_nodepend/invalid_main.err_exp:
tests/invalid_nodepend/no_exports.err_exp:
tests/invalid_nodepend/occurs.err_exp:
tests/invalid_nodepend/prog_io_erroneous.err_exp:
tests/invalid_nodepend/types.err_exp:
tests/invalid_nodepend/vars_in_wrong_places.err_exp:
Expect the updated wording.
591 B
591 B
missing_initial_section.m:007: Error: the contents of module
missing_initial_section.m:007: `missing_initial_section' after the
missing_initial_section.m:007: `:- module' declaration should start with
missing_initial_section.m:007: either an `:- interface' declaration or an
missing_initial_section.m:007: `:- implementation' declaration.
missing_initial_section.m:007: The following assumes that the missing
missing_initial_section.m:007: declaration is an `:- implementation'
missing_initial_section.m:007: declaration.
missing_initial_section.m:007: `missing_initial_section' after the
missing_initial_section.m:007: `:- module' declaration should start with
missing_initial_section.m:007: either an `:- interface' declaration or an
missing_initial_section.m:007: `:- implementation' declaration.
missing_initial_section.m:007: The following assumes that the missing
missing_initial_section.m:007: declaration is an `:- implementation'
missing_initial_section.m:007: declaration.