Consistent use of lex flags

Garrett Cooper yanegomi at gmail.com
Wed Aug 8 22:40:57 UTC 2012


On Wed, Aug 8, 2012 at 1:59 PM, Dan McGregor <danismostlikely at gmail.com> 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?

    Probably should CC gabor@ next time (done this time) and maybe
involve the NetBSD folks as this code is sort of upstreamed from them
IIRC.
Cheers!
-Garrett


More information about the freebsd-hackers mailing list