+Tue Nov 15 16:18:52 1994 Kung Hsu (kung@mexican.cygnus.com)
+
+ * c-exp.y (yylex): Fix a bug in template scanning.
+
Tue Nov 15 14:25:47 1994 Stan Shebs (shebs@andros.cygnus.com)
* i386-stub.c, m68k-stub.c, sparc-stub.c, sparcl-stub.c: Mask out
|| (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || c == '<');)
{
if (c == '<')
- while (tokstart[++namelen] != '>');
+ {
+ int i = namelen;
+ while (tokstart[++i] && tokstart[i] != '>');
+ if (tokstart[i] == '>')
+ namelen = i;
+ }
c = tokstart[++namelen];
}