- bug fix (illegal value should be printed)

This commit is contained in:
2015-06-05 09:36:17 +02:00
parent 8bef7c156f
commit 900e2771fc

View File

@ -387,7 +387,7 @@ static int ParOutError(SConnection * con, ParData * o)
o->name, ctx->thisPar); o->name, ctx->thisPar);
break; break;
case ILLNUM: case ILLNUM:
SCPrintf(con, eError, "ERROR: illegal value", o->name, ctx->valueArg); SCPrintf(con, eError, "ERROR: illegal value %s", ctx->valueArg);
break; break;
case ILLARGC: case ILLARGC:
SCPrintf(con, eError, "ERROR: illegal number of arguments for %s %s", SCPrintf(con, eError, "ERROR: illegal number of arguments for %s %s",