mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Disable symbol from parser: Support redeclaring type as non-type; major parsing change (#2412).
This commit is contained in:
@@ -196,7 +196,6 @@ AstVar* V3ParseGrammar::createVariable(FileLine* fileline, const string& name,
|
||||
if (GRAMMARP->m_varIO == VDirection::NONE // In non-ANSI port list
|
||||
&& GRAMMARP->m_varDecl == VVarType::PORT) {
|
||||
// Just a port list with variable name (not v2k format); AstPort already created
|
||||
if (dtypep) fileline->v3warn(E_UNSUPPORTED, "Unsupported: Ranges ignored in port-lists");
|
||||
if (arrayp) VL_DO_DANGLING(arrayp->deleteTree(), arrayp);
|
||||
if (attrsp) {
|
||||
// TODO: Merge attributes across list? Or warn attribute is ignored
|
||||
|
||||
Reference in New Issue
Block a user