Oops.  Using %{  %} in the rules (rather than definitions) section of a
lex file has undefined behaviour.  In fact it ends up including the stuff
within the definition of the yylex() function, leading to strange warnings
on gcc-3.4 and compile errors with gcc 4.
1 file changed