|
From: Vitor S. C. <vs...@us...> - 2008-08-06 17:32:18
|
Update of /cvsroot/yap/LGPL In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31799/LGPL Modified Files: apply_macros.pl Log Message: more thread fixes Index: apply_macros.pl =================================================================== RCS file: /cvsroot/yap/LGPL/apply_macros.pl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- apply_macros.pl 15 May 2008 13:41:46 -0000 1.2 +++ apply_macros.pl 6 Aug 2008 17:32:21 -0000 1.3 @@ -179,7 +179,7 @@ % @tbd Should we only apply if optimization is enabled (-O)? -user:goal_expansion(GoalIn, GoalOut) :- +user:goal_expansion(GoalIn, M, GoalOut) :- \+ current_prolog_flag(xref, true), - expand_apply(GoalIn, GoalOut). + expand_apply(M:GoalIn, GoalOut). |