]> git.saurik.com Git - bison.git/commitdiff
* src/output.c (output_short_table, output_short_or_char_table):
authorAkim Demaille <akim@epita.fr>
Thu, 27 Dec 2001 18:28:23 +0000 (18:28 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 27 Dec 2001 18:28:23 +0000 (18:28 +0000)
Change the prototype to use `int' for array ranges: some
invocations do pass an int, not a short.
Reported by Wayne Green.

ChangeLog
THANKS
src/output.c

index 68aca2a67ef3fcbe73e32fe5328fa563f82de71a..66f16ad411bdaf1983052f46db0099bfc2bb42b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-12-22  Akim Demaille  <akim@epita.fr>
+
+       * 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  <akim@epita.fr>
 
        Some actions of web2c.y are improperly triggered.
diff --git a/THANKS b/THANKS
index 3bf90c06951261be5055daa25cc70136e6687f99..de3c83ac3d2cd512f890c926e6a3e089af0e297c 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -32,6 +32,7 @@ Robert Anisko           anisko_r@epita.fr
 Shura                   debil_urod@ngs.ru
 Tom Lane                tgl@sss.pgh.pa.us
 Tom Tromey              tromey@cygnus.com
+Wayne Green             wayne@infosavvy.com
 Wolfram Wagner          ww@mpi-sb.mpg.de
 Wwp                     subscript@free.fr
 
index 062c141c24545cdc4b2c3accf7b6d46660cefbf6..2daac6c31244a762bb83820003b908a37ef8b61c 100644 (file)
@@ -131,7 +131,7 @@ output_short_or_char_table (struct obstack *oout,
                            const char *table_name,
                            short *short_table,
                            short first_value,
-                           short begin, short end)
+                           int begin, int end)
 {
   int i, j;
 
@@ -169,7 +169,7 @@ output_short_table (struct obstack *oout,
                    const char *table_name,
                    short *short_table,
                    short first_value,
-                   short begin, short end)
+                   int begin, int end)
 {
   output_short_or_char_table (oout, comment, "short", table_name, short_table,
                              first_value, begin, end);