From 5f0793c34c4f10a2221b793316fdc82c50d10452 Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 12 Dec 2025 10:20:39 +0100 Subject: lex: use pmap for macro lookup To reduce hashmap code repetition. Also add pmap_del for this purpose --- c/lex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/lex.h') 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 { -- cgit v1.2.3