aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc/objc-tree.def
diff options
context:
space:
mode:
authorJohn F. Carr <jfc@mit.edu>1997-12-12 06:49:29 +0000
committerJeff Law <law@gcc.gnu.org>1997-12-11 23:49:29 -0700
commit0a6969ad7cfe5a44854a2e19a8c38505862c2528 (patch)
tree5b4b9de36c3d7dc6f7a0fd049bc566fd4636cabf /gcc/objc/objc-tree.def
parentc55dcc7ddd984dd72e8dc89fe18f422f4d6344fa (diff)
downloadgcc-0a6969ad7cfe5a44854a2e19a8c38505862c2528.zip
gcc-0a6969ad7cfe5a44854a2e19a8c38505862c2528.tar.gz
gcc-0a6969ad7cfe5a44854a2e19a8c38505862c2528.tar.bz2
tree.c, tree.h: Change tree_code_type, tree_code_length, and tree_code_name from pointers to arrays.
* tree.c, tree.h: Change tree_code_type, tree_code_length, and tree_code_name from pointers to arrays. * tree.c: Remove standard_tree_code_* variables, no longer used. * print-tree.c: Remove declaration of tree_code_name. * cp/lex.c (init_lex): Update for tree_code_* changes. * objc/objc-act.c (init_objc): Likewise. * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code changes. From-SVN: r17061
Diffstat (limited to 'gcc/objc/objc-tree.def')
-rw-r--r--gcc/objc/objc-tree.def18
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/objc/objc-tree.def b/gcc/objc/objc-tree.def
index 03f0c71..9d6765b 100644
--- a/gcc/objc/objc-tree.def
+++ b/gcc/objc/objc-tree.def
@@ -22,16 +22,16 @@ Boston, MA 02111-1307, USA. */
/* Objective-C types. */
-DEFTREECODE (CLASS_INTERFACE_TYPE, "class_interface_type", "t", 0)
-DEFTREECODE (CLASS_IMPLEMENTATION_TYPE, "class_implementation_type", "t", 0)
-DEFTREECODE (CATEGORY_INTERFACE_TYPE, "category_interface_type", "t", 0)
-DEFTREECODE (CATEGORY_IMPLEMENTATION_TYPE,"category_implementation_type","t",0)
-DEFTREECODE (PROTOCOL_INTERFACE_TYPE, "protocol_interface_type", "t", 0)
+DEFTREECODE (CLASS_INTERFACE_TYPE, "class_interface_type", 't', 0)
+DEFTREECODE (CLASS_IMPLEMENTATION_TYPE, "class_implementation_type", 't', 0)
+DEFTREECODE (CATEGORY_INTERFACE_TYPE, "category_interface_type", 't', 0)
+DEFTREECODE (CATEGORY_IMPLEMENTATION_TYPE,"category_implementation_type",'t',0)
+DEFTREECODE (PROTOCOL_INTERFACE_TYPE, "protocol_interface_type", 't', 0)
/* Objective-C decls. */
-DEFTREECODE (KEYWORD_DECL, "keyword_decl", "d", 0)
-DEFTREECODE (INSTANCE_METHOD_DECL, "instance_method_decl", "d", 0)
-DEFTREECODE (CLASS_METHOD_DECL, "class_method_decl", "d", 0)
+DEFTREECODE (KEYWORD_DECL, "keyword_decl", 'd', 0)
+DEFTREECODE (INSTANCE_METHOD_DECL, "instance_method_decl", 'd', 0)
+DEFTREECODE (CLASS_METHOD_DECL, "class_method_decl", 'd', 0)
/* Objective-C constants. */
-DEFTREECODE (OBJC_STRING_CST, "objc_string_cst", "c", 3)
+DEFTREECODE (OBJC_STRING_CST, "objc_string_cst", 'c', 3)