From f6d142edd29a2d1d726efceb3121f9f9b6dd5b9a Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Wed, 21 May 2008 17:16:44 +0000 Subject: [PATCH] Add some table size declarations for the benefit of elderly lexes with small defaults (eg SunOS 4) --- ChangeLog | 5 +++++ sbr/dtimep.lex | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8d6c1f1..8da5111 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-21 Peter Maydell + + * sbr/dtimep.lex: add some table size declarations for the + benefit of elderly lexes with small defaults. + 2008-05-18 David Levine * sbr/addrsbr.c: removed "err" from conditional, because gcc diff --git a/sbr/dtimep.lex b/sbr/dtimep.lex index 113f2ea..c35c9be 100644 --- a/sbr/dtimep.lex +++ b/sbr/dtimep.lex @@ -1,3 +1,12 @@ +/* dtimep.lex exceeds the default table capacities for some old versions + * of lex (and the minimum defaults as specified by POSIX). The following + * choices meet or exceed the lex defaults for older SunOS4.x, Solaris, + * HPUX, and AIX. + */ +%e4000 +%p7000 +%n2500 +%a5000 %{ #include #include -- 1.7.10.4