diff --git a/compiler/comp_unit_interface.m b/compiler/comp_unit_interface.m index 5d85d45c6..fb0558fde 100644 --- a/compiler/comp_unit_interface.m +++ b/compiler/comp_unit_interface.m @@ -621,7 +621,7 @@ generate_parse_tree_int0(ProgressStream, Globals, AddToHptm, BurdenedModule, else % The negative indent is to let the rest of the error_spec % start at the left margin. - PrefixPieces = [words("Error reading interface files."), + PrefixPieces = [words("Error reading .int3 and/or .int0 files."), nl_indent_delta(-1)], GenerateResult = gpti0_error(ModuleName, PrefixPieces, GetSpecs) ). @@ -777,7 +777,7 @@ generate_parse_tree_int12(ProgressStream, Globals, AddToHptm, else % The negative indent is to let the rest of the error_spec % start at the left margin. - PrefixPieces = [words("Error reading .int3 files."), + PrefixPieces = [words("Error reading .int3 and/or .int0 files."), nl_indent_delta(-1)], GenerateResult = gpti12_error(ModuleName, PrefixPieces, GetSpecs) ). diff --git a/tests/invalid_make_int/missing_parent_import.int_err_exp b/tests/invalid_make_int/missing_parent_import.int_err_exp index 230471dd2..700d5df3b 100644 --- a/tests/invalid_make_int/missing_parent_import.int_err_exp +++ b/tests/invalid_make_int/missing_parent_import.int_err_exp @@ -6,5 +6,5 @@ missing_parent_import.m:028: to the `:- import_module' and `:- use_module' missing_parent_import.m:028: declarations for its child modules missing_parent_import.m:028: `missing_parent_import_helper_1.child' and missing_parent_import.m:028: `missing_parent_import_helper_1.child2'. -Error reading .int3 files. +Error reading .int3 and/or .int0 files. `missing_parent_import.int' and `missing_parent_import.int2' not written. diff --git a/tests/invalid_make_int/sub_c.int_err_exp b/tests/invalid_make_int/sub_c.int_err_exp index b3ac1fabd..7bb366200 100644 --- a/tests/invalid_make_int/sub_c.int_err_exp +++ b/tests/invalid_make_int/sub_c.int_err_exp @@ -3,5 +3,5 @@ sub_c.m:015: the absence of an `:- import_module' or `:- use_module' sub_c.m:015: declaration for `sub_c_helper_1' prevents access to the sub_c.m:015: `:- import_module' declaration for its child module sub_c.m:015: `sub_c_helper_1.sub1'. -Error reading .int3 files. +Error reading .int3 and/or .int0 files. `sub_c.int' and `sub_c.int2' not written. diff --git a/tests/invalid_make_int/test_nested.int_err_exp b/tests/invalid_make_int/test_nested.int_err_exp index ea850acdb..8f6199e2a 100644 --- a/tests/invalid_make_int/test_nested.int_err_exp +++ b/tests/invalid_make_int/test_nested.int_err_exp @@ -7,5 +7,5 @@ test_nested.m:017: the absence of an `:- import_module' or `:- use_module' test_nested.m:017: declaration for `test_nested_helper_2' prevents access to test_nested.m:017: the `:- use_module' declaration for its child module test_nested.m:017: `test_nested_helper_2.test_nested_helper_6'. -Error reading .int3 files. +Error reading .int3 and/or .int0 files. `test_nested.int' and `test_nested.int2' not written.