mirror of
https://github.com/verilator/verilator.git
synced 2025-01-03 21:27:35 +00:00
Fix processing order
This commit is contained in:
parent
4f41148db0
commit
db118f487f
@ -621,13 +621,13 @@ void V3ParseImp::tokenPipelineSym() {
|
||||
} else {
|
||||
token = yaID__ETC;
|
||||
}
|
||||
} else if (!m_afterColonColon && *(yylval.strp) == "std") {
|
||||
v3Global.setUsesStdPackage();
|
||||
} else if (token == yaID__CC) {
|
||||
if (VN_IS(scp, Module) || VN_IS(scp, Iface)) {
|
||||
yylval.fl->v3error(scp->typeName() << " cannot be the left operand of a "
|
||||
"scope resolution operator (IEEE 1800-2017 8.23)");
|
||||
}
|
||||
} else if (!m_afterColonColon && *(yylval.strp) == "std") {
|
||||
v3Global.setUsesStdPackage();
|
||||
}
|
||||
} else { // Not found
|
||||
yylval.scp = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user