* valops.c (value_of_local): Complain if NAME is NULL.

* std-operator.def (OP_OBJC_SELF): Remove.
	* parse.c (operator_length_standard) <OP_OBJC_SELF>: Remove.
	* objc-exp.y (name_not_typename): Use OP_THIS.
	* expprint.c (print_subexp_standard) <OP_THIS>: Print language's
	name for "this".
	<OP_OBJC_SELF>: Remove.
	* eval.c (evaluate_subexp_standard) <OP_OBJC_SELF>: Remove.
This commit is contained in:
Tom Tromey
2011-06-17 20:24:22 +00:00
parent 563002680c
commit aee28ec61a
7 changed files with 26 additions and 21 deletions

View File

@@ -277,11 +277,6 @@ OP (STRUCTOP_PTR)
It just comes in a tight (OP_THIS, OP_THIS) pair. */
OP (OP_THIS)
/* 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 (OP_OBJC_SELF)
/* Objective C: "@selector" pseudo-operator. */
OP (OP_OBJC_SELECTOR)