Skip to content

Commit 12832a4

Browse files
committed
fixed a build error on some compilers
1 parent cb10c27 commit 12832a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontends/hltransform.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ doSimplifyAssignments(AST **astptr, int insertCasts, int atTopLevel)
439439
break;
440440
case K_INCREMENT:
441441
case K_DECREMENT:
442+
{
442443
int newop = (op == K_DECREMENT) ? '-' : '+';
443444
/* for ++ and --, handle floats and 64 bit integers by turning into i = i+1 */
444445
/* specifically: i++ -> (tmp = i, i = i+1, tmp)
@@ -471,6 +472,7 @@ doSimplifyAssignments(AST **astptr, int insertCasts, int atTopLevel)
471472
}
472473
}
473474
}
475+
}
474476
default:
475477
break;
476478
}

0 commit comments

Comments
 (0)