This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Add ObjC struct to parser-defs.h
- From: Adam Fedor <fedor at doc dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 20 Oct 2002 20:25:19 -0600
- Subject: [PATCH] Add ObjC struct to parser-defs.h
- Organization: Digital Optics Corp.
This is a structure used for parsing Objective-C classes, etc (see
objc-exp.y).
2002-10-19 Adam Fedor <fedor@gnu.org>
* gdb/parser-defs.h: (struct objc_class_str): New structure
for parsing ObjC classes.
Index: gdb/parser-defs.h
===================================================================
RCS file: /cvs/src/src/gdb/parser-defs.h,v
retrieving revision 1.11
diff -u -p -r1.11 parser-defs.h
--- gdb/parser-defs.h 24 Jul 2002 03:03:52 -0000 1.11
+++ gdb/parser-defs.h 17 Sep 2002 19:30:53 -0000
@@ -79,6 +79,14 @@ struct symtoken
int is_a_field_of_this;
};
+struct objc_class_str
+ {
+ struct stoken stoken;
+ struct type *type;
+ int class;
+ };
+
+
/* For parsing of complicated types.
An array should be preceded in the list by the size of the array. */
enum type_pieces