diff --git a/src/mem/slicc/symbols/SymbolTable.py b/src/mem/slicc/symbols/SymbolTable.py --- a/src/mem/slicc/symbols/SymbolTable.py +++ b/src/mem/slicc/symbols/SymbolTable.py @@ -80,8 +80,9 @@ 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 + # (e.g., a declaration 'Address Address'), + # so rather than producing an error, keep trying return symbol