diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-07-29 09:16:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-29 09:16:09 -0700 |
commit | b4f38cca77a78884ce215190935af78cae92c4db (patch) | |
tree | 7a2f88af3d923113c2a02eaa23d663b474b21cd2 | |
parent | ccf759864ad0070faa9e4cbe1609389b4885f7c0 (diff) | |
parent | 92694ea3a997cc6d081b6896c213d308adb466d5 (diff) | |
download | yosys-b4f38cca77a78884ce215190935af78cae92c4db.tar.gz yosys-b4f38cca77a78884ce215190935af78cae92c4db.tar.bz2 yosys-b4f38cca77a78884ce215190935af78cae92c4db.zip |
Merge pull request #1228 from YosysHQ/dave/yy_buf_size
verilog_lexer: Increase YY_BUF_SIZE to 65536
-rw-r--r-- | frontends/verilog/verilog_lexer.l | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/verilog/verilog_lexer.l b/frontends/verilog/verilog_lexer.l index 951d9c66f..57e55b1f4 100644 --- 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 |