3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-05 17:14:08 +00:00

verilog_parser: silence yynerrs warning

This commit is contained in:
Emil J. Tywoniak 2024-10-15 12:16:02 +02:00 committed by Zachary Snow
parent adb6cdb167
commit 81bbde62ca

View file

@ -464,6 +464,7 @@ static const AstNode *addAsgnBinopStmt(dict<IdString, AstNode*> *attr, AstNode *
%% %%
input: { input: {
(void)frontend_verilog_yynerrs;
ast_stack.clear(); ast_stack.clear();
ast_stack.push_back(current_ast); ast_stack.push_back(current_ast);
} design { } design {