projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b597f85
)
Fix bison warning for "pure-parser" option
author
Claire Wolf
<claire@symbioticeda.com>
Tue, 3 Mar 2020 16:41:55 +0000
(08:41 -0800)
committer
Claire Wolf
<claire@symbioticeda.com>
Tue, 3 Mar 2020 16:41:55 +0000
(08:41 -0800)
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
frontends/verilog/verilog_parser.y
patch
|
blob
|
history
diff --git
a/frontends/verilog/verilog_parser.y
b/frontends/verilog/verilog_parser.y
index e881a1339c5db810f000856e3a39fff19b248eca..be8b39e9f70dc44cbcadd83a2493d3b424d35962 100644
(file)
--- 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
%%