aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/verilog/verilog_parser.y
diff options
context:
space:
mode:
authorClaire Wolf <claire@symbioticeda.com>2020-03-03 08:41:55 -0800
committerClaire Wolf <claire@symbioticeda.com>2020-03-03 08:41:55 -0800
commitd59da5a4e4d53813900fbd8327360bf8ef9bbd1d (patch)
tree19ca859fc43344fb9f8bada15728cf7307fec23f /frontends/verilog/verilog_parser.y
parentb597f85b13b5369398350ef4ef43b7b2521eb140 (diff)
downloadyosys-d59da5a4e4d53813900fbd8327360bf8ef9bbd1d.tar.gz
yosys-d59da5a4e4d53813900fbd8327360bf8ef9bbd1d.tar.bz2
yosys-d59da5a4e4d53813900fbd8327360bf8ef9bbd1d.zip
Fix bison warning for "pure-parser" option
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
Diffstat (limited to 'frontends/verilog/verilog_parser.y')
-rw-r--r--frontends/verilog/verilog_parser.y2
1 files changed, 1 insertions, 1 deletions
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
%%