mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Improve E_UNSUPPORTED warning messages (#7329)
This commit is contained in:
+3
-1
@@ -292,7 +292,9 @@ class LinkIncVisitor final : public VNVisitor {
|
||||
void prepost_expr_visit(AstNodeTriop* nodep) {
|
||||
iterateChildren(nodep);
|
||||
if (m_unsupportedHere) {
|
||||
nodep->v3warn(E_UNSUPPORTED, "Unsupported: Incrementation in this context.");
|
||||
nodep->v3warn(E_UNSUPPORTED,
|
||||
"Unsupported: Pre/post increment/decrement operator"
|
||||
" within a logical expression (&&, ||, ?:, etc.)");
|
||||
return;
|
||||
}
|
||||
AstNodeExpr* const readp = nodep->rhsp();
|
||||
|
||||
Reference in New Issue
Block a user