mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
*** empty log message ***
This commit is contained in:
parent
a3d0767b22
commit
6163e25d7d
@ -1896,7 +1896,7 @@ static int nesting=0;
|
|||||||
if (matchtoken('_')) {
|
if (matchtoken('_')) {
|
||||||
arglist[argpos]=ARG_IGNORED; /* flag argument as "present, but ignored" */
|
arglist[argpos]=ARG_IGNORED; /* flag argument as "present, but ignored" */
|
||||||
if (arg[argidx].ident==0 || arg[argidx].ident==iVARARGS) {
|
if (arg[argidx].ident==0 || arg[argidx].ident==iVARARGS) {
|
||||||
error(202); /* argument count mismatch */
|
error(88); /* argument count mismatch */
|
||||||
} else if (!arg[argidx].hasdefault) {
|
} else if (!arg[argidx].hasdefault) {
|
||||||
error(34,nargs+1); /* argument has no default value */
|
error(34,nargs+1); /* argument has no default value */
|
||||||
} /* if */
|
} /* if */
|
||||||
@ -1912,7 +1912,7 @@ static int nesting=0;
|
|||||||
lvalue=hier14(&lval);
|
lvalue=hier14(&lval);
|
||||||
switch (arg[argidx].ident) {
|
switch (arg[argidx].ident) {
|
||||||
case 0:
|
case 0:
|
||||||
error(202); /* argument count mismatch */
|
error(88); /* argument count mismatch */
|
||||||
break;
|
break;
|
||||||
case iVARARGS:
|
case iVARARGS:
|
||||||
/* always pass by reference */
|
/* always pass by reference */
|
||||||
@ -2132,7 +2132,7 @@ static int nesting=0;
|
|||||||
markexpr(sPARM,NULL,0); /* mark the end of a sub-expression */
|
markexpr(sPARM,NULL,0); /* mark the end of a sub-expression */
|
||||||
nest_stkusage++;
|
nest_stkusage++;
|
||||||
} else {
|
} else {
|
||||||
error(202,argidx); /* argument count mismatch */
|
error(99,argidx); /* argument count mismatch */
|
||||||
} /* if */
|
} /* if */
|
||||||
if (arglist[argidx]==ARG_UNHANDLED)
|
if (arglist[argidx]==ARG_UNHANDLED)
|
||||||
nargs++;
|
nargs++;
|
||||||
|
Loading…
Reference in New Issue
Block a user