1999-01-07 Andrew Haley <aph@viagra.cygnus.co.uk>
* jcf-parse.c (yyparse): variable len changed from a char to an
int to prevent overflow.
From-SVN: r24560
+1999-01-07 Andrew Haley <aph@viagra.cygnus.co.uk>
+
+ * jcf-parse.c (yyparse): variable len changed from a char to an
+ int to prevent overflow.
+
Wed Jan 6 17:19:46 1999 Per Bothner <bothner@cygnus.com>
* java-tree.h: Declare read_class.
if (list[0])
{
- char *value, len;
+ char *value;
- len = strlen (list);
+ int len = strlen (list);
/* FIXME: this test is only needed until our .java parser is
fully capable. */
if (len > 5 && ! strcmp (&list[len - 5], ".java"))