verilog_lexer: Increase YY_BUF_SIZE to 65536
authorDavid Shah <dave@ds0.me>
Fri, 26 Jul 2019 12:35:39 +0000 (13:35 +0100)
committerDavid 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

index 951d9c66f24c9fb573d480542cc5cc4df45a5a0e..57e55b1f4a0e03753a6077805e804305ca339718 100644 (file)
@@ -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