aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-12-11 17:57:07 +0100
committerlemon <lsof@mailbox.org>2025-12-11 17:57:07 +0100
commit31f6b60f650a72d7727d386cef160f4baae70f38 (patch)
tree6618de25658d1de7be052b2b0a0cdc13c826ad78 /io.c
parent79db8917a7d6722f0a64d4fa912efa5e96a1a2c3 (diff)
_Alignof and stuff
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index b2d4364..dc4cd5d 100644
--- a/io.c
+++ b/io.c
@@ -595,8 +595,8 @@ vbfmt(struct wbuf *out, const char *fmt, va_list ap)
#include "c/keywords.def"
#undef _
};
- n += bfmt(buf, "%s", tab[tok->t - TKWBEGIN_]);
- break;
+ tok->s = tab[tok->t - TKWBEGIN_];
+ tok->len = strlen(tok->s);
}
goto Tok;
}