diff options
-rw-r--r-- | src/mem/slicc/symbols/SymbolTable.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/slicc/symbols/SymbolTable.py b/src/mem/slicc/symbols/SymbolTable.py index 48a7ec8d2..ea470ab7d 100644 --- a/src/mem/slicc/symbols/SymbolTable.py +++ b/src/mem/slicc/symbols/SymbolTable.py @@ -85,8 +85,8 @@ class SymbolTable(object): if types is not None: if not isinstance(symbol, types): - symbol.error("Symbol '%s' is not of types '%s'.", - symbol, types) + continue # there could be a name clash with other symbol + # so rather than producing an error, keep trying return symbol |