fix bad handling of inconsistent options

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1058 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc 2004-04-30 19:48:01 +00:00
parent 9d5c82db6a
commit fc1dc1280d

View File

@ -4082,7 +4082,7 @@ format(Term tail, Term args, int sno)
goto do_default_error;
do_consistency_error:
default:
Yap_Error(CONSISTENCY_ERROR, t, "format/2");
Yap_Error(CONSISTENCY_ERROR, args, "format/2");
do_default_error:
if (tnum <= 8)
targs = NULL;