[vala] gen-introspect: Increase lexer buffer size to 1048576, taken from g-i



commit 10c7e166d00666526cc62291048d3dccdf3b815b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Dec 1 18:22:58 2014 +0100

    gen-introspect: Increase lexer buffer size to 1048576, taken from g-i

 gobject-introspection/scannerlexer.l |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gobject-introspection/scannerlexer.l b/gobject-introspection/scannerlexer.l
index 093b44f..d3d24a1 100644
--- a/gobject-introspection/scannerlexer.l
+++ b/gobject-introspection/scannerlexer.l
@@ -38,6 +38,9 @@
 
 int lineno;
 
+#undef YY_BUF_SIZE
+#define YY_BUF_SIZE 1048576
+
 extern int yylex (GIGenerator *igenerator);
 #define YY_DECL int yylex (GIGenerator *igenerator)
 static int yywrap (void);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]