mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-08-27 19:45:15 +00:00
* src/output.c (output_short_table, output_short_or_char_table):
Change the prototype to use `int' for array ranges: some invocations do pass an int, not a short. Reported by Wayne Green.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2001-12-22 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* src/output.c (output_short_table, output_short_or_char_table):
|
||||||
|
Change the prototype to use `int' for array ranges: some
|
||||||
|
invocations do pass an int, not a short.
|
||||||
|
Reported by Wayne Green.
|
||||||
|
|
||||||
2001-12-22 Akim Demaille <[email protected]>
|
2001-12-22 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
Some actions of web2c.y are improperly triggered.
|
Some actions of web2c.y are improperly triggered.
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ Robert Anisko [email protected]
|
|||||||
Shura [email protected]
|
Shura [email protected]
|
||||||
Tom Lane [email protected]
|
Tom Lane [email protected]
|
||||||
Tom Tromey [email protected]
|
Tom Tromey [email protected]
|
||||||
|
Wayne Green [email protected]
|
||||||
Wolfram Wagner [email protected]
|
Wolfram Wagner [email protected]
|
||||||
Wwp [email protected]
|
Wwp [email protected]
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -131,7 +131,7 @@ output_short_or_char_table (struct obstack *oout,
|
|||||||
const char *table_name,
|
const char *table_name,
|
||||||
short *short_table,
|
short *short_table,
|
||||||
short first_value,
|
short first_value,
|
||||||
short begin, short end)
|
int begin, int end)
|
||||||
{
|
{
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
@@ -169,7 +169,7 @@ output_short_table (struct obstack *oout,
|
|||||||
const char *table_name,
|
const char *table_name,
|
||||||
short *short_table,
|
short *short_table,
|
||||||
short first_value,
|
short first_value,
|
||||||
short begin, short end)
|
int begin, int end)
|
||||||
{
|
{
|
||||||
output_short_or_char_table (oout, comment, "short", table_name, short_table,
|
output_short_or_char_table (oout, comment, "short", table_name, short_table,
|
||||||
first_value, begin, end);
|
first_value, begin, end);
|
||||||
|
|||||||
Reference in New Issue
Block a user