aboutsummaryrefslogtreecommitdiff
path: root/gcc/stub-objc.c
diff options
context:
space:
mode:
authorZiemowit Laski <zlaski@apple.com>2004-08-28 20:58:56 +0000
committerZiemowit Laski <zlaski@gcc.gnu.org>2004-08-28 20:58:56 +0000
commite5a002e3537c91307b395d94b9292ce735d5d1c1 (patch)
tree1139533b6dad212124a620afe1309ed4b3b484f3 /gcc/stub-objc.c
parent7984a2f04bb29eff5850be9f99c2ef0f879c862a (diff)
downloadgcc-e5a002e3537c91307b395d94b9292ce735d5d1c1.zip
gcc-e5a002e3537c91307b395d94b9292ce735d5d1c1.tar.gz
gcc-e5a002e3537c91307b395d94b9292ce735d5d1c1.tar.bz2
c-common.h: Update comments about ObjC/ObjC++ entry points.
[gcc/ChangeLog] 2004-08-28 Ziemowit Laski <zlaski@apple.com> * c-common.h: Update comments about ObjC/ObjC++ entry points. (objc_is_reserved_word): New prototype. (get_current_scope, objc_mark_locals_volatile): Move prototypes to separate section; these are call-backs. * c-lex.c (c_lex_with_flags): Call objc_is_reserved_word() to detect ObjC/ObjC++ "@" keywords. * c-tree.h (get_current_scope, objc_mark_locals_volatile): Remove prototypes; they already live in c-common.h. * stub-objc.c: Update copyright notice. (objc_is_reserved_word): New stub. [gcc/cp/ChangeLog] 2004-08-28 Ziemowit Laski <zlaski@apple.com> * Make-lang.in (CXX_OBJS): Split up into CXX_OBJS and CXX_AND_OBJCXX_OBJS. (CXX_C_OBJS): Include in CXX_AND_OBJCXX_OBJS instead of listing separately on the link line. [gcc/objc/ChangeLog] 2004-08-28 Ziemowit Laski <zlaski@apple.com> * objc-act.c (objc_is_reserved_word): New function. From-SVN: r86702
Diffstat (limited to 'gcc/stub-objc.c')
-rw-r--r--gcc/stub-objc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/stub-objc.c b/gcc/stub-objc.c
index fc1afe0..abe593d 100644
--- a/gcc/stub-objc.c
+++ b/gcc/stub-objc.c
@@ -2,7 +2,7 @@
that are called from within the C and C++ front-ends,
respectively.
Copyright (C) 1991, 1995, 1997, 1998,
- 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GCC.
@@ -57,6 +57,12 @@ objc_check_decl (tree ARG_UNUSED (decl))
}
int
+objc_is_reserved_word (tree ARG_UNUSED (ident))
+{
+ return 0;
+}
+
+int
objc_comptypes (tree ARG_UNUSED (lhs), tree ARG_UNUSED (rhs),
int ARG_UNUSED (reflexive))
{