Consistent use of lex flags

Dan McGregor danismostlikely at gmail.com
Wed Aug 8 20:59:52 UTC 2012


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lex.diff
Type: application/octet-stream
Size: 7162 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20120808/bcb69e56/lex.obj


More information about the freebsd-hackers mailing list