diff options
| -rw-r--r-- | bootstrap/cgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/cgen.c b/bootstrap/cgen.c index 769d2e9..31f2235 100644 --- a/bootstrap/cgen.c +++ b/bootstrap/cgen.c @@ -372,7 +372,7 @@ genstmt(struct stmt *stmt) { pri("switch (__stmp.t) {", &stmt->euswitch.test); for (int i = 0; i < stmt->euswitch.cs.n; ++i) { struct euswitchcase c = stmt->euswitch.cs.d[i]; - pri("case /* %s */ %I: ", c.fld->name, c.vval); + pri("case /* %s */ %d: ", c.fld->name, c.vval); if (c.capt) pri("{ %t %s_%d = __stmp.u.%s;\n", c.fld->ty, c.capt, c.captid, c.fld->name); genblock(c.t); |