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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user