"Joel E. Denny" <[EMAIL PROTECTED]> writes: > Here it is plus some lint fixes.
Thanks; I installed that. > By the way, lint still gives some `implicit narrowing conversion' warnings > for both yacc.c and glr.c. Have you seen them? Just for yacc.c. The GNU Coding standards say "Don't make the program ugly to placate 'lint'" and I couldn't think of a way to placate lint without uglifying the code greatly, so I ignored them. The best idea I came up with was the following macro, but it's pretty ugly.... /* Narrow VAL to TYPE. Lint complains about narrowing conversions unless there is an explicit cast, so put one in. However, explicit casts can mask other errors, so omit the cast in the non-lint case. */ #ifdef lint # define YYNARROW(type, val) ((type) (val)) #else # define YYNARROW(type, val) (val) #endif
