Re: Consistent use of lex flags

2012-08-09 Thread Warner Losh
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

Consistent use of lex flags

2012-08-08 Thread Dan McGregor
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

Re: Consistent use of lex flags

2012-08-08 Thread Garrett Cooper
On Wed, Aug 8, 2012 at 1:59 PM, Dan McGregor danismostlik...@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