aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/lex.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-12-12 10:20:39 +0100
committerlemon <lsof@mailbox.org>2025-12-12 10:21:43 +0100
commit5f0793c34c4f10a2221b793316fdc82c50d10452 (patch)
treeff7ecf50458935dfb7a1d2f3aeea30d7d84696c3 /c/lex.h
parent88652eeb10cd9381aafb2d55e9474bb0799630b1 (diff)
lex: use pmap for macro lookup
To reduce hashmap code repetition. Also add pmap_del for this purpose
Diffstat (limited to 'c/lex.h')
-rw-r--r--c/lex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/lex.h b/c/lex.h
index aab2762..89c9a7d 100644
--- a/c/lex.h
+++ b/c/lex.h
@@ -58,7 +58,7 @@ struct token {
uchar extwarn : 1; /* warn this keyword token is an extension */
union {
uint len;
- struct { ushort macidx, argidx; };
+ ushort argidx;
};
struct span span;
union {