projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32bd0f2
)
Build Verilog parser with -DYYMAXDEPTH=100000, fixes #906
author
Clifford Wolf
<clifford@clifford.at>
Fri, 29 Mar 2019 15:32:44 +0000
(16:32 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Fri, 29 Mar 2019 15:32:44 +0000
(16:32 +0100)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
frontends/verilog/Makefile.inc
patch
|
blob
|
history
diff --git
a/frontends/verilog/Makefile.inc
b/frontends/verilog/Makefile.inc
index dbaace5854c9762a5d673274e5a1db2c7b52fa71..0a1f97ac0b31ee511191a8f71de5fd375332cd39 100644
(file)
--- a/
frontends/verilog/Makefile.inc
+++ b/
frontends/verilog/Makefile.inc
@@
-14,6
+14,8
@@
frontends/verilog/verilog_lexer.cc: frontends/verilog/verilog_lexer.l
$(Q) mkdir -p $(dir $@)
$(P) flex -o frontends/verilog/verilog_lexer.cc $<
+frontends/verilog/verilog_parser.tab.o: CXXFLAGS += -DYYMAXDEPTH=100000
+
OBJS += frontends/verilog/verilog_parser.tab.o
OBJS += frontends/verilog/verilog_lexer.o
OBJS += frontends/verilog/preproc.o