aboutsummaryrefslogtreecommitdiff
path: root/gdb/parser-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r--gdb/parser-defs.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h
index 748208a..ba13fb7 100644
--- a/gdb/parser-defs.h
+++ b/gdb/parser-defs.h
@@ -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
@@ -216,6 +224,11 @@ struct op_print
extern int target_map_name_to_register (char *, int);
+/* for parsing Objective C */
+extern void start_msglist (void);
+extern void add_msglist (struct stoken *str, int addcolon);
+extern int end_msglist (void);
+
/* Function used to avoid direct calls to fprintf
in the code generated by the bison parser. */