chiark / gitweb /
lib.c (subst): Fix local macro deletion.
[runlisp] / lib.c
diff --git a/lib.c b/lib.c
index b509cea9b6025b8a3bed3a1eda97fc0bedd55f19..5aa12e3d21b3d39d02ef5aa17b11b04b97ba8596 100644 (file)
--- a/lib.c
+++ b/lib.c
@@ -1251,7 +1251,7 @@ void config_read_env(struct config *conf, struct config_section *sect)
  *
  * This only keeps track of the immutable parameters for the substitution
  * task: stuff which changes (flags, filtering state, cursor position) is
- *      maintained separately.
+ * maintained separately.
  */
 struct subst {
   struct config *config;               /* configuration state */
@@ -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
   };