diff --git a/frontends/verilog/verilog_parser.y b/frontends/verilog/verilog_parser.y index 31d69ad0ca0..fe86626b8ab 100644 --- a/frontends/verilog/verilog_parser.y +++ b/frontends/verilog/verilog_parser.y @@ -464,6 +464,7 @@ static const AstNode *addAsgnBinopStmt(dict *attr, AstNode * %% input: { + (void)frontend_verilog_yynerrs; ast_stack.clear(); ast_stack.push_back(current_ast); } design {