gobject-introspection r983 - in trunk: . giscanner



Author: teuf
Date: Wed Dec  3 12:39:44 2008
New Revision: 983
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=983&view=rev

Log:
raise YY_BUF_SIZE to 65536 up from the default 16384.

With the default YY_BUF_SIZE value, the lexer was aborting with a cryptic
error message on source files containing really long comment blocks.
Fixes bug 562971 â g-ir-scanner failure on libgpod headers

Modified:
   trunk/ChangeLog
   trunk/giscanner/scannerlexer.l

Modified: trunk/giscanner/scannerlexer.l
==============================================================================
--- trunk/giscanner/scannerlexer.l	(original)
+++ trunk/giscanner/scannerlexer.l	Wed Dec  3 12:39:44 2008
@@ -38,6 +38,9 @@
 
 int lineno;
 
+#undef YY_BUF_SIZE
+#define YY_BUF_SIZE 65536
+
 extern int yylex (GISourceScanner *scanner);
 #define YY_DECL int yylex (GISourceScanner *scanner)
 static int yywrap (void);



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