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:
Wilson Snyder
2012-08-15 21:28:30 -04:00
parent 8ece0a8a5f
commit f0e1d204fa
8 changed files with 38 additions and 17 deletions
+2 -2
View File
@@ -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;