Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Little issue with conf parser

2004-06-14 by manu@netbsd.org

Matthieu Herrb <matthieu.herrb@...> wrote:

> 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++;
>      }

It does not sems to work as expected, or this does not fix the problem
we currently have. This will still trigger an error with this patch:
addr 213.91.0.0/17      # Teaser / Firstream

-- 
Emmanuel Dreyfus
Il y a 10 sortes de personnes dans le monde: ceux qui comprennent 
le binaire et ceux qui ne le comprennent pas.
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.