* 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
+9 -4
View File
@@ -1,3 +1,8 @@
2002-10-14 Akim Demaille <[email protected]>
* src/tables.c (table_ninf_remap): base -> tab.
Reported by Matt Rosing.
2002-10-14 Paul Eggert <[email protected]> 2002-10-14 Paul Eggert <[email protected]>
* tests/action.at, tests/calc.at, tests/conflicts.at, * 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", 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. so that the tests still work even if POSIXLY_CORRECT is set.
* doc/bison.texinfo (Rpcalc Compile, Invocation): Likewise. * doc/bison.texinfo (Rpcalc Compile, Invocation): Likewise.
* data/c.m4 (b4_int_type): Use yysigned_char instead of signed char, * 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 for portability to K&R hosts. Fix typo: signed char is guaranteed
only to 127, not to 128. 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. we can't expect the parser to be in lock-step sync with the scanner.
(handle_action_dollar, handle_action_at): Use this var. (handle_action_dollar, handle_action_at): Use this var.
* tests/actions.at (Exotic Dollars): Test for the problem. * tests/actions.at (Exotic Dollars): Test for the problem.
2002-10-12 Paul Eggert <[email protected]> 2002-10-12 Paul Eggert <[email protected]>
* lib/timevar.c [! IN_GCC && HAVE_SYS_TIME_H]: Include <sys/time.h>. * lib/timevar.c [! IN_GCC && HAVE_SYS_TIME_H]: Include <sys/time.h>.
@@ -121,10 +126,10 @@
Use same include order as source. Use same include order as source.
This is for the SunOS 4.1.4 porting bug reported by Peter Klein in 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>. <http://mail.gnu.org/pipermail/bug-bison/2002-October/001674.html>.
* lib/timevar.c: Update copyright date and clarify comments. * lib/timevar.c: Update copyright date and clarify comments.
(get_time) [IN_GCC]: Keep the GCC version for reference. (get_time) [IN_GCC]: Keep the GCC version for reference.
* lib/timevar.c, lib/timevar.h, lib/timevar.def: Import * lib/timevar.c, lib/timevar.h, lib/timevar.def: Import
GCC version as of today, then merge Bison's changes. GCC version as of today, then merge Bison's changes.
Change "GCC" to "Bison" in copyright notice. timevar.def's Change "GCC" to "Bison" in copyright notice. timevar.def's
+1
View File
@@ -33,6 +33,7 @@ Magnus Fromreide [email protected]
Marc Autret [email protected] Marc Autret [email protected]
Martin Mokrejs [email protected] Martin Mokrejs [email protected]
Matt Kraai [email protected] Matt Kraai [email protected]
Matt Rosing [email protected]
Michael Hayes [email protected] Michael Hayes [email protected]
Mike Castle [email protected] Mike Castle [email protected]
Neil Booth [email protected] Neil Booth [email protected]
+1 -1
View File
@@ -774,7 +774,7 @@ table_ninf_remap (base_t tab[], size_t size, base_t ninf)
for (i = 0; i < size; i++) for (i = 0; i < size; i++)
if (tab[i] < res && tab[i] != ninf) if (tab[i] < res && tab[i] != ninf)
res = base[i]; res = tab[i];
--res; --res;