manu@... wrote:
> Cyril Guibourg <cg+milter-greylist@...> wrote:
>
>
>>addr 213.91.0.0/17 # Teaser / Firstream
>
>
> Um, true. I don't see how to fix that yet, but I'm sure it's possible.
> Anyone has a suggestion? (remove the lex/yacc parser is a bad suggestion
> :)
You can eat comments to the end of line in the lexer using C code
instead of using an expression. Iirc the usual idiom for that is
something like:
"#" { while (input() != '\n')
;
conf_line++;
}
--
MatthieuMessage
Re: [milter-greylist] Little issue with conf parser
2004-06-14 by Matthieu Herrb