`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>
+
+ * src/output.c (output_table_data): 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.
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
get_lines_number (const char *s)
{
size_t lines = 0;
-
+
size_t i;
for (i = 0; s[i]; ++i)
{
if (s[i] == '\n')
++lines;
- }
-
+ }
+
return lines;
}
output_table_data (struct obstack *oout,
short *table_data,
short first,
- short begin,
- short end)
+ int begin,
+ int end)
{
int i;
int j = 1;
{
fputs (muscle_value, out);
output_line += get_lines_number (muscle_value);
- }
+ }
else
{
fputs ("%%", out);