Skip to content

Commit

Permalink
(core) minor, comments in mexpand.pl
Browse files Browse the repository at this point in the history
Src-commit: 022d94f65f3649fd002e3f71144192fb5bcc7d3b
  • Loading branch information
jfmc committed Nov 15, 2024
1 parent dc7f6ab commit 95d9a47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/compiler/mexpand.pl
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,11 @@
mexpand_imports_last(M, IM, F, N, EM) :- mexpand_imports(M, IM, F, N, EM).
:- else.
% Last import has priority (new semantics)
% TODO:[oc-merge] fix: traverse modules in reverse order in modload.c instead
% TODO:[oc-merge] keep in sync with modload.c and oc version of mexpand.pl

:- use_module(engine(internals), ['$setarg'/4]).

% mexpand_imports_last(+M, -IM, +F, +N, -EM):
% Get last solution of imports (note that asserting imports in reverse
% order may break source manipulating tools)
mexpand_imports_last(M, IM, F, N, EM) :-
Expand Down

0 comments on commit 95d9a47

Please sign in to comment.