Support class new.

This commit is contained in:
Wilson Snyder
2020-04-12 18:57:12 -04:00
parent d4b6e2b2b5
commit dba88bae3c
17 changed files with 132 additions and 71 deletions
+1
View File
@@ -56,6 +56,7 @@ private:
string newname = string("__PVT__")+nodep->name();
nodep->name(newname);
nodep->editCountInc();
} else if (VN_IS(nodep, CFunc) && VN_CAST(nodep, CFunc)->isConstructor()) {
} else {
string rsvd = m_words.isKeyword(nodep->name());
if (rsvd != "") {