NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/43123 (milter-greylist not building on amd64-current)



On Apr 6,  6:45am, htodd%twofifty.com@localhost (Hisashi T Fujinaka) wrote:
-- Subject: Re: toolchain/43123 (milter-greylist not building on amd64-curren

| On Tue, 6 Apr 2010, Christos Zoulas wrote:
| 
| > What happens if you add %option reject?
| >
| > christos
| >
| > | #define REJECT \
| > | { \
| > | *yy_cp = (yy_hold_char); /* undo effects of setting up conf_text */ \
| > | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
| > | ++(yy_lp); \
| > | goto find_rule; \
| > | }
| > | [...]
| > | #ifdef YY_USES_REJECT
| > | find_rule: /* we branch to this label when backing up */
| > | #endif
| > | [...]
| > |
| > | It does however not define "YY_USES_REJECT" although it clearly
| > | recognized the reject rule.
| > |
| > |
| 
| What do I add it to? I'm the one seeing the error, but I don't know
| flex.

To the .l file. After the initial %{ %} block, and before any rules.
See src/usr.bin/fgen/fgen.l for an example.

christos


Home | Main Index | Thread Index | Old Index