mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #1228 from YosysHQ/dave/yy_buf_size
verilog_lexer: Increase YY_BUF_SIZE to 65536
This commit is contained in:
commit
b4f38cca77
|
@ -70,6 +70,9 @@ YOSYS_NAMESPACE_END
|
||||||
#define YY_INPUT(buf,result,max_size) \
|
#define YY_INPUT(buf,result,max_size) \
|
||||||
result = readsome(*VERILOG_FRONTEND::lexin, buf, max_size)
|
result = readsome(*VERILOG_FRONTEND::lexin, buf, max_size)
|
||||||
|
|
||||||
|
#undef YY_BUF_SIZE
|
||||||
|
#define YY_BUF_SIZE 65536
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%option yylineno
|
%option yylineno
|
||||||
|
|
Loading…
Reference in New Issue