Commit 34b66de8 authored by Matthew Fernandez's avatar Matthew Fernandez
Browse files

murphi2c: fix: index the model

Despite not indexing the model, we were using unique identifiers to track
typedefed enums. The result of this was that we only ever tracked a single enum
(the last one typedefed) and this matched every encountered eum constant. The
effect of this would be that, in a model with multiple enum types, any enum
constants might end up with the incorrect type in murphi2c output. This caused a
-Wenum-conversion warning, but otherwise was not obvious to the user.
parent a1532357
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment