Files
mercury/tests/hard_coded/pragma_export.exp
Fergus Henderson 2006d7d21f Fix a bug in the MLDS back-end: handle `pragma export' of procedures
Estimated hours taken: 1.25

Fix a bug in the MLDS back-end: handle `pragma export' of procedures
defined in modules other than the current module.

compiler/mlds.m:
	Change the entity_name in the pragma_export type to a
	qualified_entity_name.

compiler/ml_code_util.m:
	Change ml_gen_proc_label so that it returns the module name too,
	not just the entity_name.

compiler/ml_code_gen.m:
compiler/mlds_to_c.m:
	Modify to reflect the changes described above.

tests/hard_coded/Mmakefile:
tests/hard_coded/pragma_export.m:
tests/hard_coded/pragma_export.exp:
	A regression test for the above-mentioned bug fix.
2000-08-24 10:01:55 +00:00

2 lines
29 B
Plaintext