diff options
author | Cyril Brulebois <kibi@debian.org> | 2009-01-02 06:53:39 +0100 |
---|---|---|
committer | Manoj Srivastava <srivasta@golden-gryphon.com> | 2014-04-08 23:21:33 -0700 |
commit | 44c5665718bd2bbc91c38981dc3d262f4c579bd5 (patch) | |
tree | affcbe8e98398267fb7c112e36396d2bc797b51e /flex.skl | |
parent | ada7779d8b7a39d01dd70d733883db2383e61a6e (diff) |
Finish fixing the ia64 buffer issue.
Previous commits increased YY_READ_BUF_SIZE (where __ia64__ is defined) but
left YY_BUF_SIZE unchanged, so that didn't fix the problem in the end. In the
general case, the latter is twice the former. Therefore set it to the same
ratio in the ia64 case.
Signed-off-by: Cyril Brulebois <kibi@debian.org>
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
Diffstat (limited to 'flex.skl')
-rw-r--r-- | flex.skl | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -443,7 +443,15 @@ m4_ifdef( [[M4_YY_NOT_IN_HEADER]], /* Size of default input buffer. */ #ifndef YY_BUF_SIZE +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k. + * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. + * Ditto for the __ia64__ case accordingly. + */ +#define YY_BUF_SIZE 32768 +#else #define YY_BUF_SIZE 16384 +#endif /* __ia64__ */ #endif m4_ifdef( [[M4_YY_NOT_IN_HEADER]], |