From 2e062240db25744d13d52a3d99c2fa39b9c97aa2 Mon Sep 17 00:00:00 2001 From: Alireza Azadi <45509051+alirezazd@users.noreply.github.com> Date: Tue, 23 Apr 2024 23:37:37 -0300 Subject: [PATCH] fixed odin bison warning --- odin_ii/src/verilog/verilog_bison.y | 3 +++ 1 file changed, 3 insertions(+) diff --git a/odin_ii/src/verilog/verilog_bison.y b/odin_ii/src/verilog/verilog_bison.y index a4f373ffa25..1c782499138 100644 --- a/odin_ii/src/verilog/verilog_bison.y +++ b/odin_ii/src/verilog/verilog_bison.y @@ -52,6 +52,7 @@ int yylex(void); %define parse.error verbose %locations +%expect 2 %union{ char *id_name; @@ -208,6 +209,8 @@ int yylex(void); %type list_of_generate_block_items generate_item generate_block_item generate loop_generate_construct if_generate_construct %type case_generate_construct case_generate_item_list case_generate_items generate_block generate_localparam_declaration generate_defparam_declaration + + /* capture wether an operation is signed or not */ %type var_signedness