"Joel E. Denny" <[EMAIL PROTECTED]> writes: > Did you try my static global variable solution? It worked for my > tests, but again it should probably be tested with other lints.
If you're talking about this one: static int yyunused; #define YYUSE(e) yyunused = (int*) &(e) && yyunused then I suspect it will also run afoul of lint implementations that deduce that &(e) can never be null, and print a warning. Also, I don't like having an unnecessary static variable around. Also, it won't work if e is declared to be a register, as you can't take addresses of registers. _______________________________________________ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison