revert 12657 - incorrect changes made

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2011-05-06 21:10:01 +00:00
commit cba65bd524
3 changed files with 6 additions and 7 deletions

View file

@ -2628,7 +2628,8 @@ varargs_parms : parms { $$ = $1; }
$$ = 0;
} else {
$$ = Copy($3);
for (i = 0; i < n-1; i++) {
Setattr($$,"name","VARARGS_SENTINEL");
for (i = 0; i < n; i++) {
p = Copy($3);
set_nextSibling(p,$$);
Delete($$);