aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-objc-common.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2004-09-21 15:42:44 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2004-09-21 15:42:44 +0000
commitf0c721ad7cc43cb007beb8a55cb088f17a2a065b (patch)
tree2204defb2a1b87a08691c53ec1e9648bcdadb633 /gcc/c-objc-common.c
parent5775a06aa64761ba8521ad79bd1a2cc8429a6750 (diff)
downloadgcc-f0c721ad7cc43cb007beb8a55cb088f17a2a065b.zip
gcc-f0c721ad7cc43cb007beb8a55cb088f17a2a065b.tar.gz
gcc-f0c721ad7cc43cb007beb8a55cb088f17a2a065b.tar.bz2
c-typeck.c (build_function_call): Give name of object we are attempting to call in error message.
2004-09-21 Daniel Berlin <dberlin@dberlin.org> * c-typeck.c (build_function_call): Give name of object we are attempting to call in error message. * c-objc-common.c (c_tree_printer): Call pp_expression, not return false, for 'E' case. From-SVN: r87809
Diffstat (limited to 'gcc/c-objc-common.c')
-rw-r--r--gcc/c-objc-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-objc-common.c b/gcc/c-objc-common.c
index d59aed1..0259fe5 100644
--- a/gcc/c-objc-common.c
+++ b/gcc/c-objc-common.c
@@ -235,7 +235,7 @@ c_tree_printer (pretty_printer *pp, text_info *text)
if (TREE_CODE (t) == IDENTIFIER_NODE)
n = IDENTIFIER_POINTER (t);
else
- return false;
+ pp_expression (cpp, t);
break;
default: