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 | ef9441350c3b5a17b2791f701b73d15ebdc91b58 (patch) | |
tree | dc569dff2d76437cd591b981cde743236cb9199e /gdb/f-exp.y | |
parent | 4917946930e5e20ae6a615fd32be5f50cab56418 (diff) | |
download | gdb-ef9441350c3b5a17b2791f701b73d15ebdc91b58.zip gdb-ef9441350c3b5a17b2791f701b73d15ebdc91b58.tar.gz gdb-ef9441350c3b5a17b2791f701b73d15ebdc91b58.tar.bz2 |
* 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/f-exp.y')
-rw-r--r-- | gdb/f-exp.y | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/f-exp.y b/gdb/f-exp.y index b900426..56fd70a 100644 --- a/gdb/f-exp.y +++ b/gdb/f-exp.y @@ -241,9 +241,11 @@ exp : '(' 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); } @@ -283,6 +285,7 @@ arglist : exp arglist : substring { arglist_len = 2;} + ; arglist : arglist ',' exp %prec ABOVE_COMMA { arglist_len++; } |