fix bad handling of undef warning

fix exporting module in use_module([_|_],_).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1480 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2005-12-18 17:12:33 +00:00
parent e0050ef3d7
commit b52c6d333e
4 changed files with 9 additions and 5 deletions

View File

@@ -3024,6 +3024,7 @@ static Int
Yap_Error(PERMISSION_ERROR_INPUT_BINARY_STREAM, MkAtomTerm(Stream[inp_stream].u.file.name), "read_term/2");
return FALSE;
}
Yap_Error_TYPE = YAP_NO_ERROR;
while (TRUE) {
CELL *old_H;
UInt cpos = 0;
@@ -3901,6 +3902,7 @@ format(volatile Term otail, volatile Term oargs, int sno)
format_info finfo;
Term fmod = CurrentModule;
FormatInfo = &finfo;
finfo.pad_max = finfo.pad_entries;
finfo.format_error = FALSE;