OSDN Git Service

[gcc/ChangeLog]
[pf3gnuchains/gcc-fork.git] / gcc / c-parse.in
index f4d7a04..d45ff5e 100644 (file)
@@ -744,19 +744,19 @@ primary:
                  $$.original_code = ERROR_MARK; }
 @@ifobjc
        | objcmessageexpr
                  $$.original_code = ERROR_MARK; }
 @@ifobjc
        | objcmessageexpr
-               { $$.value = build_message_expr ($1);
+               { $$.value = objc_build_message_expr ($1);
                  $$.original_code = ERROR_MARK; }
        | objcselectorexpr
                  $$.original_code = ERROR_MARK; }
        | objcselectorexpr
-               { $$.value = build_selector_expr ($1);
+               { $$.value = objc_build_selector_expr ($1);
                  $$.original_code = ERROR_MARK; }
        | objcprotocolexpr
                  $$.original_code = ERROR_MARK; }
        | objcprotocolexpr
-               { $$.value = build_protocol_expr ($1);
+               { $$.value = objc_build_protocol_expr ($1);
                  $$.original_code = ERROR_MARK; }
        | objcencodeexpr
                  $$.original_code = ERROR_MARK; }
        | objcencodeexpr
-               { $$.value = build_encode_expr ($1);
+               { $$.value = objc_build_encode_expr ($1);
                  $$.original_code = ERROR_MARK; }
        | OBJC_STRING
                  $$.original_code = ERROR_MARK; }
        | OBJC_STRING
-               { $$.value = build_objc_string_object ($1);
+               { $$.value = objc_build_string_object ($1);
                  $$.original_code = ERROR_MARK; }
 @@end_ifobjc
        ;
                  $$.original_code = ERROR_MARK; }
 @@end_ifobjc
        ;
@@ -1808,7 +1808,7 @@ component_decl_list2:     /* empty */
 @@ifobjc
        /* foo(sizeof(struct{ @defs(ClassName)})); */
        | AT_DEFS '(' CLASSNAME ')'
 @@ifobjc
        /* foo(sizeof(struct{ @defs(ClassName)})); */
        | AT_DEFS '(' CLASSNAME ')'
-               { $$ = nreverse (get_class_ivars_from_name ($3)); }
+               { $$ = nreverse (objc_get_class_ivars ($3)); }
 @@end_ifobjc
        ;
 
 @@end_ifobjc
        ;
 
@@ -3047,22 +3047,22 @@ reservedwords:
 keyworddecl:
          selector ':' '(' typename ')' identifier
                {
 keyworddecl:
          selector ':' '(' typename ')' identifier
                {
-                 $$ = build_keyword_decl ($1, $4, $6);
+                 $$ = objc_build_keyword_decl ($1, $4, $6);
                }
 
        | selector ':' identifier
                {
                }
 
        | selector ':' identifier
                {
-                 $$ = build_keyword_decl ($1, NULL_TREE, $3);
+                 $$ = objc_build_keyword_decl ($1, NULL_TREE, $3);
                }
 
        | ':' '(' typename ')' identifier
                {
                }
 
        | ':' '(' typename ')' identifier
                {
-                 $$ = build_keyword_decl (NULL_TREE, $3, $5);
+                 $$ = objc_build_keyword_decl (NULL_TREE, $3, $5);
                }
 
        | ':' identifier
                {
                }
 
        | ':' identifier
                {
-                 $$ = build_keyword_decl (NULL_TREE, NULL_TREE, $2);
+                 $$ = objc_build_keyword_decl (NULL_TREE, NULL_TREE, $2);
                }
        ;
 
                }
        ;
 
@@ -3108,11 +3108,11 @@ receiver:
                { $$ = $1.value; }
        | CLASSNAME
                {
                { $$ = $1.value; }
        | CLASSNAME
                {
-                 $$ = get_class_reference ($1);
+                 $$ = objc_get_class_reference ($1);
                }
        | TYPENAME
                {
                }
        | TYPENAME
                {
-                 $$ = get_class_reference ($1);
+                 $$ = objc_get_class_reference ($1);
                }
        ;
 
                }
        ;
 
@@ -3271,6 +3271,7 @@ static const struct resword reswords[] =
   { "void",            RID_VOID,       0 },
   { "volatile",                RID_VOLATILE,   0 },
   { "while",           RID_WHILE,      0 },
   { "void",            RID_VOID,       0 },
   { "volatile",                RID_VOLATILE,   0 },
   { "while",           RID_WHILE,      0 },
+
 @@ifobjc
   { "id",              RID_ID,                 D_OBJC },
 
 @@ifobjc
   { "id",              RID_ID,                 D_OBJC },