aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2006-04-14 17:15:42 +0000
committerFariborz Jahanian <fjahanian@apple.com>2006-04-14 17:15:42 +0000
commit58f171709f1f504d7251cfc27fae6bb95d085b74 (patch)
tree9fb873f4ad7acc32832ed00c7c80dc1581ac1b45 /gcc/cp/parser.c
parentbe92d11b495afd4d78ff42b37c7e10a619c2e3d9 (diff)
Radar 4508851apple/gcc-5401
OKed by Mike. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/trunk@112956 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r--gcc/cp/parser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 1cd6ca693d8..14c1d0580d6 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -18509,6 +18509,10 @@ cp_parser_objc_interstitial_code (cp_parser* parser)
objc_set_method_opt (0);
}
/* APPLE LOCAL end C* language */
+ /* APPLE LOCAL begin radar 4508851 */
+ else if (token->keyword == RID_NAMESPACE)
+ cp_parser_namespace_definition (parser);
+ /* APPLE LOCAL end radar 4508851 */
/* APPLE LOCAL begin 4093475 */
/* Other stray characters must generate errors. */
else if (token->type == CPP_OPEN_BRACE || token->type == CPP_CLOSE_BRACE)