Files
mercury/tests/invalid_make_int/missing_initial_section.int_err_exp
Zoltan Somogyi 5f4a14a189 Clarify the diagnostics about missing section markers.
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.
2026-02-15 16:20:34 +11:00

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.