mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Update error message
This commit is contained in:
parent
db118f487f
commit
c174330c81
@ -625,8 +625,8 @@ void V3ParseImp::tokenPipelineSym() {
|
||||
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)");
|
||||
yylval.fl->v3error(scp->prettyTypeName() << " cannot be the left operand of "
|
||||
"a scope resolution operator (IEEE 1800-2017 8.23)");
|
||||
}
|
||||
}
|
||||
} else { // Not found
|
||||
|
@ -1,7 +1,7 @@
|
||||
%Error: t/t_scope_resolution_op_bad.v:14:34: MODULE cannot be the left operand of a scope resolution operator (IEEE 1800-2017 8.23)
|
||||
%Error: t/t_scope_resolution_op_bad.v:14:34: MODULE 'mod' cannot be the left operand of a scope resolution operator (IEEE 1800-2017 8.23)
|
||||
14 | localparam integer MOD_PARAM = mod::PARAM;
|
||||
| ^~~
|
||||
%Error: t/t_scope_resolution_op_bad.v:15:33: IFACE cannot be the left operand of a scope resolution operator (IEEE 1800-2017 8.23)
|
||||
%Error: t/t_scope_resolution_op_bad.v:15:33: IFACE 'mod_if' cannot be the left operand of a scope resolution operator (IEEE 1800-2017 8.23)
|
||||
15 | localparam integer IF_PARAM = mod_if::PARAM;
|
||||
| ^~~~~~
|
||||
%Error: Exiting due to
|
||||
|
Loading…
Reference in New Issue
Block a user