diff options
Diffstat (limited to 'src/mem/slicc')
-rw-r--r-- | src/mem/slicc/symbols/Type.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/slicc/symbols/Type.py b/src/mem/slicc/symbols/Type.py index 162c1ab04..e9ea61815 100644 --- a/src/mem/slicc/symbols/Type.py +++ b/src/mem/slicc/symbols/Type.py @@ -724,7 +724,7 @@ ${{self.c_ident}}_base_number(const ${{self.c_ident}}& obj) # For each field code.indent() code(' case ${{self.c_ident}}_NUM:') - for enum in reversed(self.enums.values()): + for enum in reversed(list(self.enums.values())): # Check if there is a defined machine with this type if enum.primary: code(' base += ${{enum.ident}}_Controller::getNumControllers();') |