summaryrefslogtreecommitdiffstats
path: root/hl/src/H5LTanalyze.l
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2006-05-16 19:15:58 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2006-05-16 19:15:58 (GMT)
commitb562825fc5b7555ec39c55dbcd002dde8cdfafec (patch)
tree6fc68fde3d521d8fa3308ccfd9d6e50912bd2efc /hl/src/H5LTanalyze.l
parent7b6db1046b044d2f433a02b2c64f9297988e8b50 (diff)
downloadhdf5-b562825fc5b7555ec39c55dbcd002dde8cdfafec.zip
hdf5-b562825fc5b7555ec39c55dbcd002dde8cdfafec.tar.gz
hdf5-b562825fc5b7555ec39c55dbcd002dde8cdfafec.tar.bz2
[svn-r12350] Purpose: Increase capacity
Description: The default size for input buffer of Lex is only 8K. Some application has input string far bigger than it. Solution: Increase the size by defining YY_BUFFER_SIZE to be 256K (262144) in H5LTanalyze.l Platforms tested: fuss - simple change.
Diffstat (limited to 'hl/src/H5LTanalyze.l')
-rw-r--r--hl/src/H5LTanalyze.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/hl/src/H5LTanalyze.l b/hl/src/H5LTanalyze.l
index 7440a29..97cde91 100644
--- a/hl/src/H5LTanalyze.l
+++ b/hl/src/H5LTanalyze.l
@@ -22,6 +22,7 @@ int my_yyinput(char *, int);
#undef YY_INPUT
#define YY_INPUT(b, r, ms) (r=my_yyinput(b, ms))
#define token(x) (int)x
+#define YY_BUF_SIZE 262144 /*Define read buffer to be 256K*/
extern char *myinput;
extern int input_len;