mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 09:23:44 +00:00
Branches: main The bodies of table reset and statistics procedures generated by the compiler were being written to `.opt' files. However, those procedures need access to C variables which are local to their defining modules. compiler/add_pragma.m: Set the `may_not_duplicate' attribute on table reset and statistics procedures. compiler/intermod.m: Don't write foreign procedures to `.opt' files if they have the `may_not_duplicate' attribute. tests/tabling/Mercury.options: tests/tabling/Mmakefile: tests/tabling/reset_stats_intermod.exp: tests/tabling/reset_stats_intermod.m: tests/tabling/reset_stats_intermod_2.m: Add test case.
2 lines
3 B
Plaintext
2 lines
3 B
Plaintext
ok
|