Skip to content

Commit

Permalink
Fixed VS2010 compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
newhook committed Apr 14, 2015
1 parent 7f451ee commit 790b6f2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions directive.c
Original file line number Diff line number Diff line change
Expand Up @@ -1254,9 +1254,10 @@ static void dump_repl(
for (cp = dp->repl; (c = *cp++ & UCHARMAX) != EOS; ) {

switch (c) {
case MAC_PARM: /* Parameter */
case MAC_PARM: { /* Parameter */
PARM parm;
c = (*cp++ & UCHARMAX) - 1;
PARM parm = parms[ c];
parm = parms[ c];
if ((numargs & VA_ARGS) && c == (numargs & ~AVA_ARGS) - 1) {
mcpp_fputs( gcc2_va ? parm.name : "__VA_ARGS__"
, FP2DEST( fp));
Expand All @@ -1266,6 +1267,7 @@ static void dump_repl(
mcpp_fputc( *cp1++, FP2DEST( fp));
}
break;
}
case DEF_MAGIC:
/* Else skip */
break;
Expand Down

0 comments on commit 790b6f2

Please # to comment.