From: Claire Wolf Date: Tue, 3 Mar 2020 16:41:55 +0000 (-0800) Subject: Fix bison warning for "pure-parser" option X-Git-Tag: working-ls180~775 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d59da5a4e4d53813900fbd8327360bf8ef9bbd1d;p=yosys.git Fix bison warning for "pure-parser" option Signed-off-by: Claire Wolf --- 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 %%