projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a54adc
)
slicc: fix error in conflicing symbol declaration
author
Brad Beckmann
<Brad.Beckmann@amd.com>
Mon, 20 Jul 2015 14:15:18 +0000
(09:15 -0500)
committer
Brad Beckmann
<Brad.Beckmann@amd.com>
Mon, 20 Jul 2015 14:15:18 +0000
(09:15 -0500)
src/mem/slicc/symbols/SymbolTable.py
patch
|
blob
|
history
diff --git
a/src/mem/slicc/symbols/SymbolTable.py
b/src/mem/slicc/symbols/SymbolTable.py
index ea470ab7dd81ad3585c434e3f9ca0aa50e6e5bbd..844e4c63f6e877fb8d7aaf79e326fa5122a12287 100644
(file)
--- 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(s
elf.sym_map_vec[0]
[id]) != type(sym):
+ if type(s
ym_map
[id]) != type(sym):
sym.error("Conflicting declaration of Symbol '%s'", id)
# FIXME - warn on masking of a declaration in a previous frame