chiark / gitweb /
lib.c (subst): Fix local macro deletion.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 4 Mar 2024 17:29:35 +0000 (17:29 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 4 Mar 2024 17:30:52 +0000 (17:30 +0000)
lib.c

diff --git a/lib.c b/lib.c
index e648857a9bf2e8a113c28a02891063ad1cc48655..5aa12e3d21b3d39d02ef5aa17b11b04b97ba8596 100644 (file)
--- a/lib.c
+++ b/lib.c
@@ -1413,9 +1413,10 @@ static const char *subst(const char *p, const char *l,
     0,
     ESCAPE DELIM SUBST QUOT
 
-#undef COMMON
+#undef ESCAPE
+#undef SUBST
 #undef WORDSEP
-#undef SQUOT
+#undef QUOT
 #undef DELIM
   };