summaryrefslogtreecommitdiff
path: root/src/mem/slicc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/slicc')
-rw-r--r--src/mem/slicc/symbols/SymbolTable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/slicc/symbols/SymbolTable.py b/src/mem/slicc/symbols/SymbolTable.py
index ea470ab7d..844e4c63f 100644
--- a/src/mem/slicc/symbols/SymbolTable.py
+++ b/src/mem/slicc/symbols/SymbolTable.py
@@ -70,7 +70,7 @@ class SymbolTable(object):
for sym_map in self.sym_map_vec:
if id in sym_map:
- if type(self.sym_map_vec[0][id]) != type(sym):
+ if type(sym_map[id]) != type(sym):
sym.error("Conflicting declaration of Symbol '%s'", id)
# FIXME - warn on masking of a declaration in a previous frame