diff options
author | Jason Merrill <jason@redhat.com> | 2002-01-10 00:06:02 +0000 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2002-01-10 00:06:02 +0000 |
commit | 39c22d1ade25baa5c9afaac499038ddc76a3dd60 (patch) | |
tree | fbb91308874af9352a924b6ce597e9a1dae21ccc /gdb/c-typeprint.c | |
parent | 155ca243e172f6eda0ada2f9d61d2b1e435f9903 (diff) | |
download | fsf-binutils-gdb-39c22d1ade25baa5c9afaac499038ddc76a3dd60.zip fsf-binutils-gdb-39c22d1ade25baa5c9afaac499038ddc76a3dd60.tar.gz fsf-binutils-gdb-39c22d1ade25baa5c9afaac499038ddc76a3dd60.tar.bz2 |
* c-typeprint.c (is_type_conversion_operator): Fix thinko.
Diffstat (limited to 'gdb/c-typeprint.c')
-rw-r--r-- | gdb/c-typeprint.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c index aa7f5a5..ce7fbe0 100644 --- a/gdb/c-typeprint.c +++ b/gdb/c-typeprint.c @@ -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') |