Fixed compilation problems with gcc 4.6.3; use enum instead of const ints. (original patch by Andrew Becker <andrew.becker@epfl.ch>)
Fixed compilation problems with gcc 4.6.3; use enum instead of const ints.
(original patch by Andrew Becker <andrew.becker@epfl.ch>)

antmicro/yosys,azonenberg/yosys,swallat/yosys,antmicro/yosys,cliffordwolf/yosys,cliffordwolf/yosys,azonenberg/yosys,YosysHQ/yosys,swallat/yosys,SymbiFlow/yosys,azonenberg/yosys,swallat/yosys,SymbiFlow/yosys,cliffordwolf/yosys,azonenberg/yosys,azonenberg/yosys,antmicro/yosys,azonenberg/yosys,antmicro/yosys,swallat/yosys,YosysHQ/yosys,SymbiFlow/yosys,azonenberg/yosys,cliffordwolf/yosys,cliffordwolf/yosys,SymbiFlow/yosys,YosysHQ/yosys,YosysHQ/yosys,SymbiFlow/yosys,cliffordwolf/yosys,YosysHQ/yosys,antmicro/yosys,swallat/yosys,antmicro/yosys,azonenberg/yosys,swallat/yosys,YosysHQ/yosys,cliffordwolf/yosys,cliffordwolf/yosys,YosysHQ/yosys,antmicro/yosys,antmicro/yosys,swallat/yosys,SymbiFlow/yosys,YosysHQ/yosys,swallat/yosys,azonenberg/yosys,SymbiFlow/yosys,swallat/yosys,SymbiFlow/yosys,cliffordwolf/yosys