From 6163e25d7d520fb6192946d79f7cf154bc604cf8 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 19 Nov 2005 09:07:28 +0000 Subject: [PATCH] *** empty log message *** --- compiler/libpc300/sc3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/libpc300/sc3.c b/compiler/libpc300/sc3.c index 70d0544e..9aa338a2 100755 --- a/compiler/libpc300/sc3.c +++ b/compiler/libpc300/sc3.c @@ -1896,7 +1896,7 @@ static int nesting=0; if (matchtoken('_')) { arglist[argpos]=ARG_IGNORED; /* flag argument as "present, but ignored" */ if (arg[argidx].ident==0 || arg[argidx].ident==iVARARGS) { - error(202); /* argument count mismatch */ + error(88); /* argument count mismatch */ } else if (!arg[argidx].hasdefault) { error(34,nargs+1); /* argument has no default value */ } /* if */ @@ -1912,7 +1912,7 @@ static int nesting=0; lvalue=hier14(&lval); switch (arg[argidx].ident) { case 0: - error(202); /* argument count mismatch */ + error(88); /* argument count mismatch */ break; case iVARARGS: /* always pass by reference */ @@ -2132,7 +2132,7 @@ static int nesting=0; markexpr(sPARM,NULL,0); /* mark the end of a sub-expression */ nest_stkusage++; } else { - error(202,argidx); /* argument count mismatch */ + error(99,argidx); /* argument count mismatch */ } /* if */ if (arglist[argidx]==ARG_UNHANDLED) nargs++;