diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2000-01-06 18:54:34 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-01-06 18:54:34 -0500 |
commit | bff3ce71a12e8244111bc9e349de8cd685053c89 (patch) | |
tree | 222c544e1b0913b902e981084f81695790538d0b /gcc/cp/error.c | |
parent | ee07f4f4b1bc7170dc29f9bd3ebf16d3932edb79 (diff) | |
download | gcc-bff3ce71a12e8244111bc9e349de8cd685053c89.zip gcc-bff3ce71a12e8244111bc9e349de8cd685053c89.tar.gz gcc-bff3ce71a12e8244111bc9e349de8cd685053c89.tar.bz2 |
error.c (dump_decl): operator new, not operatornew.
* error.c (dump_decl): operator new, not operatornew.
* class.c (field_decl_cmp): A nontype is "greater" than a type.
* search.c (lookup_field_1): Look for the last field with the
desired name.
From-SVN: r31262
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 46ac51b..f76b4da 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -951,6 +951,8 @@ dump_decl (t, flags) { const char *name_string = operator_name_string (t); OB_PUTS ("operator"); + if (ISALPHA (name_string[0])) + OB_PUTC (' '); OB_PUTCP (name_string); } else @@ -1282,6 +1284,8 @@ dump_function_name (t, flags) { const char *name_string = operator_name_string (name); OB_PUTS ("operator"); + if (ISALPHA (name_string[0])) + OB_PUTC (' '); OB_PUTCP (name_string); } else |