mirror of https://github.com/YosysHQ/yosys.git
Fixed compilation problems with gcc 4.6.3; use enum instead of const ints.
(original patch by Andrew Becker <andrew.becker@epfl.ch>)
This commit is contained in:
parent
ff3f2448b1
commit
81fa4e81a6
|
@ -78,8 +78,10 @@ struct proc_dlatch_db_t
|
|||
}
|
||||
};
|
||||
|
||||
const int true_node = 1;
|
||||
const int false_node = 2;
|
||||
enum tf_node_types_t : int {
|
||||
true_node = 1,
|
||||
false_node = 2
|
||||
};
|
||||
|
||||
idict<rule_node_t, 3> rules_db;
|
||||
dict<int, SigBit> rules_sig;
|
||||
|
|
Loading…
Reference in New Issue