aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parse.in
diff options
context:
space:
mode:
authorZiemowit Laski <zlaski@apple.com>2003-10-15 00:10:27 +0000
committerZiemowit Laski <zlaski@gcc.gnu.org>2003-10-15 00:10:27 +0000
commit4898423cfd4d1b1dfb25e78ee7e734be76e1b44d (patch)
tree800ea81c078a96a03debae44a7905203b417cccf /gcc/c-parse.in
parente69166de8e13bd1ec9c30d1871d03cb4b3616f1d (diff)
downloadgcc-4898423cfd4d1b1dfb25e78ee7e734be76e1b44d.zip
gcc-4898423cfd4d1b1dfb25e78ee7e734be76e1b44d.tar.gz
gcc-4898423cfd4d1b1dfb25e78ee7e734be76e1b44d.tar.bz2
c-parse.in (methoddef, [...]): Call objc_add_method() instead of add_method().
2003-10-14 Ziemowit Laski <zlaski@apple.com> * c-parse.in (methoddef, methodproto): Call objc_add_method() instead of add_method(). * objc/objc-act.c (objc_check_decl): Do not check for constant_string_type. (add_method): Rename to objc_add_method(). (really_start_method): Call objc_add_method() instead of add_method(). * objc/objc-act.h (add_method): Rename to objc_add_method(). From-SVN: r72506
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r--gcc/c-parse.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in
index 0ae20c1..c785017 100644
--- a/gcc/c-parse.in
+++ b/gcc/c-parse.in
@@ -2931,7 +2931,9 @@ methoddef:
methoddecl
{
objc_pq_context = 0;
- add_method (objc_implementation_context, $3, objc_inherit_code == CLASS_METHOD_DECL);
+ objc_add_method (objc_implementation_context,
+ $3,
+ objc_inherit_code == CLASS_METHOD_DECL);
start_method_def ($3);
}
optarglist
@@ -2969,7 +2971,9 @@ methodproto:
{
/* Forget protocol qualifiers here. */
objc_pq_context = 0;
- add_method (objc_interface_context, $3, objc_inherit_code == CLASS_METHOD_DECL);
+ objc_add_method (objc_interface_context,
+ $3,
+ objc_inherit_code == CLASS_METHOD_DECL);
}
semi_or_error
;