summaryrefslogtreecommitdiffstats
path: root/src/increasebuffer.pl
blob: 056a6b5376a3fc53d5520c922e7d23458cc837ff (plain)
1
2
3
4
5
6
7
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 $_;
}