Files
mercury/tests/hard_coded/foreign_code_before_proc.exp
Zoltan Somogyi dc47131aea Put foreign_codes before foreign_procs for LLDS.
This fixes a bug reported by Keri Harris on m-users.

compiler/llds_out_file.m:
    Output foreign_codes before the C modules that may contain
    foreign_procs, since those foreign_procs may need to refer
    to entities defined in the foreign_codes.

compiler/mercury_compile_llds_back_end.m:
    Improve some comments.

tests/hard_coded/foreign_code_before_proc.{m,exp}:
    A regression test for this bug.

tests/hard_coded/Mmakefile:
    Enable the regression test.
2020-07-26 21:39:11 +10:00

2 lines
3 B
Plaintext