Files
mercury/tests/invalid_nodepend/bad_foreign_code.err_exp
Zoltan Somogyi 7dab0cac8c Remove almost all remaining references to Erlang.
The only three places we still refer to Erlang are the places where such
references are needed to explain the reason why the current code is
what it is.

compiler/builtin_ops.m:
    Delete the builltin ops that compare whole terms, which was only ever
    used by the Erlang backend.

library/private_builtin.m:
    Stop declaring the deleted builtin ops.

compiler/compute_grade.m:
compiler/parse_pragma_foreign.m:
    Stop adding "Support for Erlang has been discontinued" to error messages
    for code that still refers to Erlang.

compiler/add_mutable_aux_preds.m:
compiler/add_pred.m:
compiler/code_util.m:
compiler/generate_mmakefile_fragments.m:
compiler/globals.m:
compiler/llds.m:
compiler/llds_out_data.m:
compiler/mercury_compile_middle_passes.m:
compiler/ml_global_data.m:
compiler/mlds_dump.m:
compiler/mlds_to_c_data.m:
compiler/mlds_to_cs_data.m:
compiler/mlds_to_java_data.m:
compiler/opt_debug.m:
compiler/parse_mutable.m:
compiler/prog_foreign.m:
compiler/simplify_goal_call.m:
compiler/simplify_goal_unify.m:
compiler/term_constr_initial.m:
    Conform to the changes above, and/or delete other references to Erlang.

tests/invalid_make_int/bad_foreign_type_int.int_err_exp:
tests/invalid_nodepend/bad_foreign_code.err_exp:
tests/invalid_nodepend/bad_foreign_decl.err_exp:
tests/invalid_nodepend/bad_foreign_enum.err_exp:
tests/invalid_nodepend/bad_foreign_export.err_exp:
tests/invalid_nodepend/bad_foreign_export_enum.err_exp:
tests/invalid_nodepend/bad_foreign_import_module.err_exp:
tests/invalid_nodepend/bad_foreign_proc.err_exp:
    Don't expect the message about "support has been discontinued".
2024-12-14 22:26:43 +11:00

2.5 KiB

bad_foreign_code.m:017: Error: a `:- pragma foreign_code' declaration must have
bad_foreign_code.m:017: exactly two arguments.
bad_foreign_code.m:021: Error: a `:- pragma foreign_code' declaration must have
bad_foreign_code.m:021: exactly two arguments.
bad_foreign_code.m:025: In the first argument of `:- pragma foreign_code'
bad_foreign_code.m:025: declaration:
bad_foreign_code.m:025: error: expected the name of a foreign language, got
bad_foreign_code.m:025: `"InvalidLanguage"'.
bad_foreign_code.m:025: The valid languages are c, C, csharp, C#, java and
bad_foreign_code.m:025: Java.
bad_foreign_code.m:029: In the second argument of `:- pragma foreign_code'
bad_foreign_code.m:029: declaration:
bad_foreign_code.m:029: error: expected a string containing foreign code, got
bad_foreign_code.m:029: `2222'.
bad_foreign_code.m:033: In the second argument of `:- pragma foreign_code'
bad_foreign_code.m:033: declaration:
bad_foreign_code.m:033: error: expected a string containing foreign code, got
bad_foreign_code.m:033: `include_file(3333)'.
bad_foreign_code.m:043: In the first argument of `:- pragma foreign_code'
bad_foreign_code.m:043: declaration:
bad_foreign_code.m:043: error: expected the name of a foreign language, got
bad_foreign_code.m:043: `"InvalidLanguage"'.
bad_foreign_code.m:043: The valid languages are c, C, csharp, C#, java and
bad_foreign_code.m:043: Java.
bad_foreign_code.m:044: In the second argument of `:- pragma foreign_code'
bad_foreign_code.m:044: declaration:
bad_foreign_code.m:044: error: expected a string containing foreign code, got
bad_foreign_code.m:044: `6666'.
bad_foreign_code.m:047: In the first argument of `:- pragma foreign_code'
bad_foreign_code.m:047: declaration:
bad_foreign_code.m:047: error: expected the name of a foreign language, got
bad_foreign_code.m:047: `"Erlang"'.
bad_foreign_code.m:047: The valid languages are c, C, csharp, C#, java and
bad_foreign_code.m:047: Java.