aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTheodore A. Roth <troth@openavr.org>2003-03-28 01:40:37 +0000
committerTheodore A. Roth <troth@openavr.org>2003-03-28 01:40:37 +0000
commit5edc9ca693a434cda70a0bdeee4d5de2c7f923fc (patch)
tree710976ae616f06c0ba3a9ce69a8b1f921520a621 /gdb
parent82a4a0fe336d5e37f87d6f003f817169a6475a94 (diff)
downloadgdb-5edc9ca693a434cda70a0bdeee4d5de2c7f923fc.zip
gdb-5edc9ca693a434cda70a0bdeee4d5de2c7f923fc.tar.gz
gdb-5edc9ca693a434cda70a0bdeee4d5de2c7f923fc.tar.bz2
* objc-exp.y: Add missing semi-colons.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/objc-exp.y3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6ab01d8..75092b6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-27 Theodore A. Roth <troth@openavr.org>
+
+ * objc-exp.y: Add missing semi-colons.
+
2003-03-27 Andrew Cagney <cagney@redhat.com>
* regcache.c (write_sp): Delete function and references.
diff --git a/gdb/objc-exp.y b/gdb/objc-exp.y
index 8e52fc0..002600d 100644
--- a/gdb/objc-exp.y
+++ b/gdb/objc-exp.y
@@ -247,9 +247,11 @@ exp1 : exp
/* Expressions, not including the comma operator. */
exp : '*' exp %prec UNARY
{ write_exp_elt_opcode (UNOP_IND); }
+ ;
exp : '&' exp %prec UNARY
{ write_exp_elt_opcode (UNOP_ADDR); }
+ ;
exp : '-' exp %prec UNARY
{ write_exp_elt_opcode (UNOP_NEG); }
@@ -569,6 +571,7 @@ exp : SELECTOR
write_exp_elt_opcode (OP_OBJC_SELECTOR);
write_exp_string ($1);
write_exp_elt_opcode (OP_OBJC_SELECTOR); }
+ ;
exp : SIZEOF '(' type ')' %prec UNARY
{ write_exp_elt_opcode (OP_LONG);