do not do macro_expansion from goal, only when consulting.

This commit is contained in:
Costa Vitor 2009-06-14 19:44:36 -05:00
parent c3e84c9aaf
commit 91b09d7382

View File

@ -500,4 +500,5 @@ contains_illegal_dcgnt(NT) :-
% nl.
goal_expansion_allowed :-
prolog_load_context(_, _), % make sure we are compiling.
\+ current_prolog_flag(xref, true).