Skip to content

Instantly share code, notes, and snippets.

@arnested
Created May 31, 2012 18:21
Show Gist options
  • Select an option

  • Save arnested/2845225 to your computer and use it in GitHub Desktop.

Select an option

Save arnested/2845225 to your computer and use it in GitHub Desktop.
libparser/php.c patch - increase YY_BUF_SIZE
--- a/libparser/php.c 2012-01-21 06:15:14.000000000 +0100
+++ b/libparser/php.c 2012-05-31 20:20:04.000000000 +0200
@@ -113,7 +113,7 @@
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
-#define YY_BUF_SIZE 16384
+#define YY_BUF_SIZE 65536
typedef struct yy_buffer_state *YY_BUFFER_STATE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment