Skip to content

Commit

Permalink
verilog_parser: silence yynerrs warning
Browse files Browse the repository at this point in the history
  • Loading branch information
widlarizer authored and zachjs committed Oct 15, 2024
1 parent adb6cdb commit 81bbde6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontends/verilog/verilog_parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ static const AstNode *addAsgnBinopStmt(dict<IdString, AstNode*> *attr, AstNode *
%%

input: {
(void)frontend_verilog_yynerrs;
ast_stack.clear();
ast_stack.push_back(current_ast);
} design {
Expand Down

0 comments on commit 81bbde6

Please sign in to comment.