avoid empty hash tables

This commit is contained in:
Vitor Santos Costa
2014-09-23 22:37:08 +01:00
parent fcc0c51ce7
commit 429e87404f
2 changed files with 10 additions and 3 deletions

View File

@@ -875,6 +875,7 @@ p_save_module_preds( USES_REGS1 )
Yap_Error(TYPE_ERROR_ATOM,tmod,"save_module/2");
return FALSE;
}
save_header( stream );
return save_module(stream, tmod) != 0;
}