* c-typeprint.c (is_type_conversion_operator): Fix thinko.

This commit is contained in:
Jason Merrill 2002-01-10 00:06:02 +00:00
parent 155ca243e1
commit 39c22d1ade
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-01-09 Jason Merrill <jason@redhat.com>
* c-typeprint.c (is_type_conversion_operator): Fix thinko.
2002-01-09 Michael Snyder <msnyder@redhat.com>
* i386-linux-nat.c (fill_fpxregset): Make global.

View File

@ -366,6 +366,7 @@ Jim Kingdon jkingdon@engr.sgi.com ++
Jonathan Larmour jlarmour@redhat.co.uk
H.J. Lu hjl@lucon.org
Glen McCready gkm@redhat.com
Jason Merrill jason@redhat.com
Jason Molenda jmolenda@apple.com
Pierre Muller muller@sourceware.redhat.com
Alexandre Oliva aoliva@redhat.com

View File

@ -407,7 +407,9 @@ is_type_conversion_operator (struct type *type, int i, int j)
else if (strncmp (name, "delete", 6) == 0)
name += 6;
else
return 0;
/* If it doesn't look like new or delete, it's a type conversion
operator. */
return 1;
/* Is that really the end of the name? */
if (('a' <= *name && *name <= 'z')