aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-09-10 11:19:16 +0200
committerlemon <lsof@mailbox.org>2025-09-10 11:19:16 +0200
commit45591bc221bb8268567acdaa523cbac94d31a90e (patch)
tree4e992ea4822af8313bd6ce02a574c6e20ad690f6 /io.c
parent59c9eb2a0766bdb7b1c1b1a2045f5381111771e5 (diff)
lex: implement basic function-like macro functionality
Diffstat (limited to 'io.c')
-rw-r--r--io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io.c b/io.c
index f58734c..9b1720b 100644
--- a/io.c
+++ b/io.c
@@ -476,6 +476,7 @@ vbfmt(struct wbuf *out, const char *fmt, va_list ap)
n += bfmt(buf, "%'S", tok->s, tok->len);
break;
case TKIDENT:
+ case TKPPMACARG:
n += bfmt(buf, "`%s'", tok->s);
break;
case TKEOF: