mirror of https://github.com/YosysHQ/yosys.git
verilog_parser: turn S/R and R/R conflicts into hard errors.
Fixes #2253.
This commit is contained in:
parent
9c120b89ac
commit
dc35ef05f9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue