aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/verilog/Makefile.inc
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2020-07-09 20:17:19 +0000
committerGitHub <noreply@github.com>2020-07-09 20:17:19 +0000
commitc0bcbe1f6254f050207a91506a63aa9d784bd8d6 (patch)
treea788116d9cbdfe717123327895ea8a565a12ee39 /frontends/verilog/Makefile.inc
parent0e9b889b77454ce8bcee47e73ed9b79f9b31771f (diff)
parentdc35ef05f93bf634e7f158869af48707233505e2 (diff)
downloadyosys-c0bcbe1f6254f050207a91506a63aa9d784bd8d6.tar.gz
yosys-c0bcbe1f6254f050207a91506a63aa9d784bd8d6.tar.bz2
yosys-c0bcbe1f6254f050207a91506a63aa9d784bd8d6.zip
Merge pull request #2255 from whitequark/bison-Werror-conflicts
verilog_parser: turn S/R and R/R conflicts into hard errors
Diffstat (limited to 'frontends/verilog/Makefile.inc')
-rw-r--r--frontends/verilog/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verilog/Makefile.inc b/frontends/verilog/Makefile.inc
index cf9b9531e..d5d5edd3d 100644
--- a/frontends/verilog/Makefile.inc
+++ b/frontends/verilog/Makefile.inc
@@ -6,7 +6,7 @@ GENFILES += frontends/verilog/verilog_lexer.cc
frontends/verilog/verilog_parser.tab.cc: frontends/verilog/verilog_parser.y
$(Q) mkdir -p $(dir $@)
- $(P) $(BISON) -o $@ -d -r all -b frontends/verilog/verilog_parser $<
+ $(P) $(BISON) -Werror=conflicts-sr,error=conflicts-rr -o $@ -d -r all -b frontends/verilog/verilog_parser $<
frontends/verilog/verilog_parser.tab.hh: frontends/verilog/verilog_parser.tab.cc