aboutsummaryrefslogtreecommitdiff
path: root/gdb/expression.h
diff options
context:
space:
mode:
authorAdam Fedor <fedor@gnu.org>2002-11-19 03:23:40 +0000
committerAdam Fedor <fedor@gnu.org>2002-11-19 03:23:40 +0000
commit646df18d28ce1f24671f22c3a4393b50c1ceb273 (patch)
tree810f3b67cdaa6ef2b6dde6f5fb14a99b9ea37b44 /gdb/expression.h
parent379b85dfc1745593a3fdcbd0138fc305d91e1a52 (diff)
downloadfsf-binutils-gdb-646df18d28ce1f24671f22c3a4393b50c1ceb273.zip
fsf-binutils-gdb-646df18d28ce1f24671f22c3a4393b50c1ceb273.tar.gz
fsf-binutils-gdb-646df18d28ce1f24671f22c3a4393b50c1ceb273.tar.bz2
* expression.h: Rename ObjC ops to OP_OBJC_MSGCALL,
OP_OBJC_SELECTOR, OP_OBJC_NSSTRING, and OP_OBJC_SELF. * parse.c (length_of_subexp, prefixify_subexp): Likewise. * objc-exp.y: Likewise.
Diffstat (limited to 'gdb/expression.h')
-rw-r--r--gdb/expression.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/expression.h b/gdb/expression.h
index e7f9d48..66cc119 100644
--- a/gdb/expression.h
+++ b/gdb/expression.h
@@ -181,11 +181,11 @@ enum exp_opcode
making three exp_elements. */
OP_FUNCALL,
- /* OP_MSGCALL is followed by a string in the next exp_element and then an
+ /* OP_OBJC_MSGCALL is followed by a string in the next exp_element and then an
integer. The string is the selector string. The integer is the number
of arguments to the message call. That many plus one values are used,
the first one being the object pointer. This is an Objective C message */
- OP_MSGCALL,
+ OP_OBJC_MSGCALL,
/* This is EXACTLY like OP_FUNCALL but is semantically different.
In F77, array subscript expressions, substring expressions
@@ -283,12 +283,12 @@ enum exp_opcode
It just comes in a tight (OP_THIS, OP_THIS) pair. */
OP_THIS,
- /* Objective-C: OP_SELF is just a placeholder for the class instance
- variable. It just comes in a tight (OP_SELF, OP_SELF) pair. */
- OP_SELF,
+ /* Objective-C: OP_OBJC_SELF is just a placeholder for the class instance
+ variable. It just comes in a tight (OP_OBJC_SELF, OP_OBJC_SELF) pair. */
+ OP_OBJC_SELF,
/* Objective C: "@selector" pseudo-operator */
- OP_SELECTOR,
+ OP_OBJC_SELECTOR,
/* OP_SCOPE surrounds a type name and a field name. The type
name is encoded as one element, but the field name stays as
@@ -320,7 +320,7 @@ enum exp_opcode
OP_EXPRSTRING,
/* An Objective C Foundation Class NSString constant */
- OP_NSSTRING,
+ OP_OBJC_NSSTRING,
};
union exp_element