diff options
| author | 2022-08-08 06:02:57 +0200 | |
|---|---|---|
| committer | 2022-08-08 06:02:57 +0200 | |
| commit | 29a059d87af940a232443b59726da900cca83f19 (patch) | |
| tree | 185ecafc1e3f880bc75b4e39ebd1589203f98c14 /bootstrap/cgen.c | |
| parent | cbed5a14aa8c1624f6f350d92c1de0c9ef55e40c (diff) | |
oops
Diffstat (limited to 'bootstrap/cgen.c')
| -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); |