From 848861a17d72b5c555b0b36d594cc66ac1de8c12 Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Mon, 20 Jul 2015 09:15:18 -0500 Subject: slicc: fix error in conflicing symbol declaration --- src/mem/slicc/symbols/SymbolTable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3