I just recompiled a program for the first time in about a year, with Bison 3.0.2. The warning output is:
L2.yy:32.1-13: warning: deprecated directive, use ‘%name-prefix’ [-Wdeprecated] %name-prefix="L2" ^^^^^^^^^^^^^ L2.yy:35.1-8: warning: deprecated directive, use ‘%output’ [-Wdeprecated] %output="tmp_L2.cc" ^^^^^^^^ L2.yy:42.9-21: warning: deprecated directive, use ‘%define api.push-pull both’ [-Wdeprecated] %define api.push_pull "both" ^^^^^^^^^^^^^ L2.yy:42.9-21: warning: %define variable 'api.push-pull' requires keyword values [-Wdeprecated] %define api.push_pull "both" ^^^^^^^^^^^^^ A little googling revealed that %name-prefix has been replaced by "%define api.prefix". I tried that swap, and the changes are not quite 1-to-1. Although the code didn't compile without requiring changes, I believe that some of my evil hacks regarding YYSTYPE will be able to be removed. The other three errors are a mystery. Are these due to bugs in this version, or as-yet-undocumented improvements? Also, these warning messages are all un- helpful. Brian -- Brian M. Sutin, Ph.D. Electro-Optical Systems Engineering Skewray Research/750 W 8th St/Claremont CA 91711 USA/(909) 293-0026 _______________________________________________ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison