Rik Kabel <rik(_at_)netcom(_dot_)com> writes:
I've been trying to improve my preprocessor, and started experimenting
with some admittedly bizarre rc consructs. Some of the results of this
have me stumped. Below is a test harness and output. When a is set
initially to 1, as it is here, I get the log file shown. When a is set
initially to something other than 1, I get a 'missing brace' message.
It seems that, in some circumstances, the closing brace in the comment
is significant, and is parsed as a block end. Is this a bug?
Procmail doesn't actually keep a count of the nesting level. Instead
it only keeps track of how many levels of braces are being _skipped_.
Thus, as is happening in your example, no message is generated when an
rcfile is missing a close brace as long as the nested block is taken.
Philip Guenther