mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 21:03:53 +00:00
Delete now-obsolete code to search for a module in files matching
partially qualified versions of the module name.
compiler/find_module.m:
As above.
compiler/read_modules.m:
compiler/write_deps_file.m:
Conform to changes.
tests/invalid/bad_module_name.err_exp
tests/invalid/bad_module_name.m
tests/invalid/bad_module_name_sub.m -> tests/invalid/bad_module_name.sub.m:
Rename sub-module and its source file so that the source file will
be found.
14 lines
346 B
Mathematica
14 lines
346 B
Mathematica
% vim: ts=4 sw=4 et ft=mercury
|
|
%
|
|
% The fact that the module name in this source file does not match
|
|
% the module name expected from its file name caused mmc to crash
|
|
% with a map lookup failure when invoked with --generate-dependencies
|
|
% on bad_module_name.m.
|
|
|
|
:- module wrong_module_name.
|
|
:- interface.
|
|
|
|
:- type u
|
|
---> g1
|
|
; g2.
|