mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix triangle symbol resolution error broke in 3.840, bug550.
This requires the parse symbol table persist across all parse runs. This is probably more correct than before, but may result in some fallout if people relied on data types not being persistant across separately parsed cells.
This commit is contained in:
+2
-2
@@ -159,8 +159,8 @@ void V3ParseImp::lexFile(const string& modname) {
|
||||
//======================================================================
|
||||
// V3Parse functions
|
||||
|
||||
V3Parse::V3Parse(AstNetlist* rootp, V3InFilter* filterp) {
|
||||
m_impp = new V3ParseImp (rootp, filterp);
|
||||
V3Parse::V3Parse(AstNetlist* rootp, V3InFilter* filterp, V3ParseSym* symp) {
|
||||
m_impp = new V3ParseImp (rootp, filterp, symp);
|
||||
}
|
||||
V3Parse::~V3Parse() {
|
||||
delete m_impp; m_impp = NULL;
|
||||
|
||||
Reference in New Issue
Block a user