Showing with 11 additions and 4 deletions.
  1. +6 −0 changelog.dd
  2. +5 −4 src/core/demangle.d
6 changes: 6 additions & 0 deletions changelog.dd
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
$(VERSION 055, mmm dd, 2011, =================================================,

$(RUNTIMEBUGSFIXED
$(LI $(BUGZILLA 5967): Mangling of ArgClose for variadic function is swapped)
)
)
$(VERSION 054, mmm dd, 2011, =================================================,

$(WHATSNEW
Expand Down
9 changes: 5 additions & 4 deletions src/core/demangle.d
Original file line number Diff line number Diff line change
Expand Up @@ -800,13 +800,13 @@ private struct Demangle
debug(info) printf( "tok (%c)\n", tok() );
switch( tok() )
{
case 'X': // ArgClose (variadic T t,...) style)
case 'X': // ArgClose (variadic T t...) style)
next();
put( ", ..." );
put( "..." );
return;
case 'Y': // ArgClose (variadic T t...) style)
case 'Y': // ArgClose (variadic T t,...) style)
next();
put( "..." );
put( ", ..." );
return;
case 'Z': // ArgClose (not variadic)
next();
Expand Down Expand Up @@ -1124,6 +1124,7 @@ private struct Demangle
next();
parseReal();
put( "+" );
match( 'c' );
parseReal();
put( "i" );
return;
Expand Down