- Fixed: The state parser counted one parameter too many for a varargs function.

SVN r1280 (trunk)
This commit is contained in:
Christoph Oelckers 2008-10-28 18:10:02 +00:00
parent 0e9c3a3e2b
commit feaa5c3653
2 changed files with 1 additions and 1 deletions

View file

@ -1,4 +1,5 @@
October 28, 2008 (Changes by Graf Zahl) October 28, 2008 (Changes by Graf Zahl)
- Fixed: The state parser counted one parameter too many for a varargs function.
- Fixed: FStateExpressions could copy unresolved default parameter expressions. - Fixed: FStateExpressions could copy unresolved default parameter expressions.
When these were resolved and changed later all copied pointers pointed to When these were resolved and changed later all copied pointers pointed to
invalid data. invalid data.

View file

@ -347,7 +347,6 @@ do_stop:
if (varargs) if (varargs)
{ {
varargcount++;
paramindex++; paramindex++;
} }
else if (afd->defaultparameterindex > -1) else if (afd->defaultparameterindex > -1)