From 5edc9ca693a434cda70a0bdeee4d5de2c7f923fc Mon Sep 17 00:00:00 2001 From: "Theodore A. Roth" Date: Fri, 28 Mar 2003 01:40:37 +0000 Subject: * objc-exp.y: Add missing semi-colons. --- gdb/objc-exp.y | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/objc-exp.y') 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); -- cgit v1.1