projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a02d172
)
verilog_lexer: Increase YY_BUF_SIZE to 65536
author
David Shah
<dave@ds0.me>
Fri, 26 Jul 2019 12:35:39 +0000
(13:35 +0100)
committer
David Shah
<dave@ds0.me>
Fri, 26 Jul 2019 12:35:39 +0000
(13:35 +0100)
Signed-off-by: David Shah <dave@ds0.me>
frontends/verilog/verilog_lexer.l
patch
|
blob
|
history
diff --git
a/frontends/verilog/verilog_lexer.l
b/frontends/verilog/verilog_lexer.l
index 951d9c66f24c9fb573d480542cc5cc4df45a5a0e..57e55b1f4a0e03753a6077805e804305ca339718 100644
(file)
--- a/
frontends/verilog/verilog_lexer.l
+++ b/
frontends/verilog/verilog_lexer.l
@@
-70,6
+70,9
@@
YOSYS_NAMESPACE_END
#define YY_INPUT(buf,result,max_size) \
result = readsome(*VERILOG_FRONTEND::lexin, buf, max_size)
+#undef YY_BUF_SIZE
+#define YY_BUF_SIZE 65536
+
%}
%option yylineno