flasm 1.62 fails to build with bison 2.4.1, giving the following errors.
bison --defines --debug assembler.y
assembler.y:608.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:610.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:612.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:614.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:616.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:618.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:620.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:623.53-54: $$ for the midrule at $5 of `trycatchfinally' has no declared type
assembler.y:623.84-85: $$ for the midrule at $5 of `trycatchfinally' has no declared type
assembler.y:624.53-54: $$ for the midrule at $7 of `trycatchfinally' has no declared type
assembler.y:624.84-85: $$ for the midrule at $7 of `trycatchfinally' has no declared type
assembler.y:625.53-54: $$ for the midrule at $9 of `trycatchfinally' has no declared type
assembler.y:625.84-85: $$ for the midrule at $9 of `trycatchfinally' has no declared type
assembler.y:637.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:639.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:641.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:643.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:645.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:647.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:649.53-54: $$ for the midrule at $3 of `trycatchfinally' has no declared type
assembler.y:652.53-54: $$ for the midrule at $5 of `trycatchfinally' has no declared type
assembler.y:652.84-85: $$ for the midrule at $5 of `trycatchfinally' has no declared type
assembler.y:653.53-54: $$ for the midrule at $7 of `trycatchfinally' has no declared type
assembler.y:653.84-85: $$ for the midrule at $7 of `trycatchfinally' has no declared type
assembler.y:654.53-54: $$ for the midrule at $9 of `trycatchfinally' has no declared type
assembler.y:654.84-85: $$ for the midrule at $9 of `trycatchfinally' has no declared type
assembler.y:710.53-54: $$ for the midrule at $3 of `function' has no declared type
assembler.y:712.53-54: $$ for the midrule at $3 of `function' has no declared type
assembler.y:713.53-54: $$ for the midrule at $3 of `function' has no declared type
assembler.y:720.53-54: $$ for the midrule at $7 of `function' has no declared type
assembler.y:723.57-58: $$ for the midrule at $7 of `function' has no declared type
assembler.y:726.53-54: $$ for the midrule at $7 of `function' has no declared type
assembler.y:728.65-66: $$ for the midrule at $7 of `function' has no declared type
assembler.y:728.71-72: $$ for the midrule at $7 of `function' has no declared type
assembler.y:840.53-54: $$ for the midrule at $3 of `function2' has no declared type
assembler.y:842.53-54: $$ for the midrule at $3 of `function2' has no declared type
assembler.y:844.53-54: $$ for the midrule at $3 of `function2' has no declared type
assembler.y:849.53-54: $$ for the midrule at $3 of `function2' has no declared type
assembler.y:852.53-54: $$ for the midrule at $3 of `function2' has no declared type
assembler.y:854.53-54: $$ for the midrule at $3 of `function2' has no declared type
assembler.y:858.53-54: $$ for the midrule at $7 of `function2' has no declared type
assembler.y:869.53-54: $$ for the midrule at $11 of `function2' has no declared type
assembler.y:871.53-54: $$ for the midrule at $11 of `function2' has no declared type
assembler.y:886.65-66: $$ for the midrule at $11 of `function2' has no declared type
assembler.y:888.65-66: $$ for the midrule at $11 of `function2' has no declared type
assembler.y:888.73-74: $$ for the midrule at $11 of `function2' has no declared type
assembler.y:908.53-54: $$ for the midrule at $2 of `with' has no declared type
assembler.y:910.53-54: $$ for the midrule at $2 of `with' has no declared type
assembler.y:912.53-54: $$ for the midrule at $2 of `with' has no declared type
assembler.y:924.53-54: $$ for the midrule at $3 of `settarget' has no declared type
assembler.y:925.53-54: $$ for the midrule at $3 of `settarget' has no declared type
assembler.y:926.53-54: $$ for the midrule at $3 of `settarget' has no declared type
assembler.y:937.53-54: $$ for the midrule at $2 of `settargetexpression' has no declared type
assembler.y:949.53-54: $$ for the midrule at $2 of `ifframeloadedexpression' has no declared type
assembler.y:950.53-54: $$ for the midrule at $2 of `ifframeloadedexpression' has no declared type
assembler.y:951.53-54: $$ for the midrule at $2 of `ifframeloadedexpression' has no declared type
assembler.y:966.53-54: $$ for the midrule at $3 of `ifframeloaded' has no declared type
assembler.y:967.53-54: $$ for the midrule at $3 of `ifframeloaded' has no declared type
assembler.y:968.53-54: $$ for the midrule at $3 of `ifframeloaded' has no declared type
assembler.y:969.53-54: $$ for the midrule at $3 of `ifframeloaded' has no declared type
assembler.y:1202.53-54: $$ for the midrule at $2 of `opcode' has no declared type
assembler.y:1204.53-54: $$ for the midrule at $2 of `opcode' has no declared type
assembler.y:1215.53-54: $$ for the midrule at $3 of `opcode' has no declared type
assembler.y:1218.53-54: $$ for the midrule at $3 of `opcode' has no declared type
make[1]: *** [assembler.tab.h] Error 1
fix FTBFS with new bison.
Here is a patch for this issue. It builds fine, haven't verified if the resulting binary works yet.
File Added: fix-FTBFS-with-new-bison.patch
Fedora/Gentoo patch
Here is the patch that Gentoo and Fedora use. It is slightly shorter and builds with both new and old bison fine. I'll be using it in the Debian package instead of the one that I wrote. flasm works fine with either patch.
File Added: flasm-1.6.2-bison-2.patch