summaryrefslogtreecommitdiffstats
path: root/src/increasebuffer.pl
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-03-17 21:39:04 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-03-17 21:39:04 (GMT)
commitfc0deb3d8c9dad128e1d5f5c90a5dfc0b9d60eea (patch)
treeeb947bb0b492c9a33c255c9ec3928913cbf938c7 /src/increasebuffer.pl
parent91ac89e271d81507ce5d8bf5b821d80aedd6ec3e (diff)
downloadDoxygen-fc0deb3d8c9dad128e1d5f5c90a5dfc0b9d60eea.zip
Doxygen-fc0deb3d8c9dad128e1d5f5c90a5dfc0b9d60eea.tar.gz
Doxygen-fc0deb3d8c9dad128e1d5f5c90a5dfc0b9d60eea.tar.bz2
Release-1.3-rc3-20030317
Diffstat (limited to 'src/increasebuffer.pl')
-rwxr-xr-xsrc/increasebuffer.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/increasebuffer.pl b/src/increasebuffer.pl
new file mode 100755
index 0000000..056a6b5
--- /dev/null
+++ b/src/increasebuffer.pl
@@ -0,0 +1,8 @@
+# Since the internal token buffer of a generated flex file is hardcoded
+# to 16K, this script is used to increase the buffer size of a flex
+# generated scanner to 256K.
+while (<>)
+{
+ s/YY_BUF_SIZE 16384/YY_BUF_SIZE 262144/g;
+ print $_;
+}