From 05846dae07d2113181fb791fc9c5f9382edc35ce Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 14 Oct 2002 11:38:21 +0000 Subject: [PATCH] * src/tables.c (table_ninf_remap): base -> tab. Reported by Matt Rosing. --- ChangeLog | 13 +++++++++---- THANKS | 1 + src/tables.c | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 37f71fd1..567f76f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-10-14 Akim Demaille + + * src/tables.c (table_ninf_remap): base -> tab. + Reported by Matt Rosing. + 2002-10-14 Paul Eggert * tests/action.at, tests/calc.at, tests/conflicts.at, @@ -6,7 +11,7 @@ Say "bison -o foo.c foo.y", not "bison foo.y -o foo.c", so that the tests still work even if POSIXLY_CORRECT is set. * doc/bison.texinfo (Rpcalc Compile, Invocation): Likewise. - + * data/c.m4 (b4_int_type): Use yysigned_char instead of signed char, for portability to K&R hosts. Fix typo: signed char is guaranteed only to 127, not to 128. @@ -112,7 +117,7 @@ we can't expect the parser to be in lock-step sync with the scanner. (handle_action_dollar, handle_action_at): Use this var. * tests/actions.at (Exotic Dollars): Test for the problem. - + 2002-10-12 Paul Eggert * lib/timevar.c [! IN_GCC && HAVE_SYS_TIME_H]: Include . @@ -121,10 +126,10 @@ Use same include order as source. This is for the SunOS 4.1.4 porting bug reported by Peter Klein in . - + * lib/timevar.c: Update copyright date and clarify comments. (get_time) [IN_GCC]: Keep the GCC version for reference. - + * lib/timevar.c, lib/timevar.h, lib/timevar.def: Import GCC version as of today, then merge Bison's changes. Change "GCC" to "Bison" in copyright notice. timevar.def's diff --git a/THANKS b/THANKS index 85c6a7d8..b7fc3126 100644 --- a/THANKS +++ b/THANKS @@ -33,6 +33,7 @@ Magnus Fromreide magfr@lysator.liu.se Marc Autret autret_m@epita.fr Martin Mokrejs mmokrejs@natur.cuni.cz Matt Kraai kraai@alumni.cmu.edu +Matt Rosing rosing@peakfive.com Michael Hayes m.hayes@elec.canterbury.ac.nz Mike Castle dalgoda@ix.netcom.com Neil Booth NeilB@earthling.net diff --git a/src/tables.c b/src/tables.c index 35e7e625..a615204a 100644 --- a/src/tables.c +++ b/src/tables.c @@ -774,7 +774,7 @@ table_ninf_remap (base_t tab[], size_t size, base_t ninf) for (i = 0; i < size; i++) if (tab[i] < res && tab[i] != ninf) - res = base[i]; + res = tab[i]; --res; -- 2.47.2