From d59da5a4e4d53813900fbd8327360bf8ef9bbd1d Mon Sep 17 00:00:00 2001 From: Claire Wolf Date: Tue, 3 Mar 2020 08:41:55 -0800 Subject: [PATCH] Fix bison warning for "pure-parser" option Signed-off-by: Claire Wolf --- frontends/verilog/verilog_parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/verilog/verilog_parser.y b/frontends/verilog/verilog_parser.y index e881a1339..be8b39e9f 100644 --- a/frontends/verilog/verilog_parser.y +++ b/frontends/verilog/verilog_parser.y @@ -142,6 +142,7 @@ static void addRange(AstNode *parent, int msb = 31, int lsb = 0, bool isSigned = %} %define api.prefix {frontend_verilog_yy} +%define api.pure /* The union is defined in the header, so we need to provide all the * includes it requires @@ -220,7 +221,6 @@ static void addRange(AstNode *parent, int msb = 31, int lsb = 0, bool isSigned = %debug %locations -%pure-parser %%