mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 23:33:03 +00:00
* src/tables.c (table_ninf_remap): base -> tab.
Reported by Matt Rosing.
This commit is contained in:
13
ChangeLog
13
ChangeLog
@@ -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>
|
2002-10-14 Paul Eggert <eggert@twinsun.com>
|
||||||
|
|
||||||
* 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 <eggert@twinsun.com>
|
2002-10-12 Paul Eggert <eggert@twinsun.com>
|
||||||
|
|
||||||
* 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
THANKS
1
THANKS
@@ -33,6 +33,7 @@ Magnus Fromreide magfr@lysator.liu.se
|
|||||||
Marc Autret autret_m@epita.fr
|
Marc Autret autret_m@epita.fr
|
||||||
Martin Mokrejs mmokrejs@natur.cuni.cz
|
Martin Mokrejs mmokrejs@natur.cuni.cz
|
||||||
Matt Kraai kraai@alumni.cmu.edu
|
Matt Kraai kraai@alumni.cmu.edu
|
||||||
|
Matt Rosing rosing@peakfive.com
|
||||||
Michael Hayes m.hayes@elec.canterbury.ac.nz
|
Michael Hayes m.hayes@elec.canterbury.ac.nz
|
||||||
Mike Castle dalgoda@ix.netcom.com
|
Mike Castle dalgoda@ix.netcom.com
|
||||||
Neil Booth NeilB@earthling.net
|
Neil Booth NeilB@earthling.net
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user