Consistent use of lex flags

Warner Losh imp at bsdimp.com
Thu Aug 9 16:12:49 UTC 2012


All these changes look good.  Since they aren't changes to lex itself, but how the base uses standard lex interfaces, I'd say we should just commit it.

Warner


On Aug 8, 2012, at 2:59 PM, Dan McGregor wrote:

> Hi.
> 
> I was just noticing that mkcsmapper doesn't build with clang.  I saw two
> ways to do this, the first being to #define YY_NO_INPUT, and the other to
> use the %option noinput lex flag.
> 
> While there, I decided to explore and I changed a bunch of #defines to the
> standard lex way of doing things.  I thought it would be good if all the
> code that originated in FreeBSD could be consistent.
> 
> Thoughts?
> <lex.diff>_______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"



More information about the freebsd-hackers mailing list