X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/47af3df3850a1a17ee706b278868309d40bacd55..a8833af0fa20b68e6e09736f57c8f3137719cc0c:/lib.c diff --git a/lib.c b/lib.c index b509cea..dea6c09 100644 --- 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 }; @@ -1461,7 +1462,7 @@ static const char *subst(const char *p, const char *l, if (!(f&SF_SKIP)) { - /* If this is a double quote or backslash then check DFLT to see if + /* If this is a double quote or backslash then check QFILT to see if * it needs escaping. */ if (qfilt && (*p == '"' || *p == '\\'))