mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-28 16:53:45 +02:00
Fix error message for failed elaboration of event expression.
This commit is contained in:
+3
-2
@@ -4356,8 +4356,9 @@ cerr << endl;
|
||||
|
||||
NetExpr*tmp = elab_and_eval(des, scope, expr_[idx]->expr(), -1);
|
||||
if (tmp == 0) {
|
||||
expr_[idx]->dump(cerr);
|
||||
cerr << endl;
|
||||
cerr << get_fileline() << ": error: "
|
||||
"Failed to evaluate event expression '"
|
||||
<< *expr_[idx] << "'." << endl;
|
||||
des->errors += 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user