* src/tables.c (table_ninf_remap): base -> tab.

Reported by Matt Rosing.
This commit is contained in:
Akim Demaille
2002-10-14 11:38:21 +00:00
parent 447fbb178d
commit 05846dae07
3 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
2002-10-14 Akim Demaille <akim@epita.fr>
* src/tables.c (table_ninf_remap): base -> tab.
Reported by Matt Rosing.
2002-10-14 Paul Eggert <eggert@twinsun.com>
* 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 <eggert@twinsun.com>
* lib/timevar.c [! IN_GCC && HAVE_SYS_TIME_H]: Include <sys/time.h>.
@@ -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
<http://mail.gnu.org/pipermail/bug-bison/2002-October/001674.html>.
* 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

1
THANKS
View File

@@ -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

View File

@@ -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;