diff options
author | Theodore A. Roth <troth@openavr.org> | 2002-11-06 22:48:25 +0000 |
---|---|---|
committer | Theodore A. Roth <troth@openavr.org> | 2002-11-06 22:48:25 +0000 |
commit | 7af890d6ee4dfa4ba417437224c6069759fa6122 (patch) | |
tree | c8a8423197b525366a435f9af0e9aa8f694ed42e /gdb/c-exp.y | |
parent | 796800857ccba71d38f72bdb5e37e05f9ca9d820 (diff) | |
download | gdb-7af890d6ee4dfa4ba417437224c6069759fa6122.tar.gz |
* c-exp.y: Add missing semi-colons.
* f-exp.y: Add missing semi-colons.
* m2-exp.y: Add missing semi-colons.
* p-exp.y: Add missing semi-colons.
Add empty action to start rule to avoid a type clash error when
building with bison >= 1.50.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y index 1f344c47b7b..9df0aee428f 100644 --- a/gdb/c-exp.y +++ b/gdb/c-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); } |