aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.c
diff options
context:
space:
mode:
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;
}