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