aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-exp.y
diff options
context:
space:
mode:
authorTheodore A. Roth <troth@openavr.org>2002-11-06 22:48:25 +0000
committerTheodore A. Roth <troth@openavr.org>2002-11-06 22:48:25 +0000
commitef9441350c3b5a17b2791f701b73d15ebdc91b58 (patch)
treedc569dff2d76437cd591b981cde743236cb9199e /gdb/m2-exp.y
parent4917946930e5e20ae6a615fd32be5f50cab56418 (diff)
downloadgdb-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/m2-exp.y')
-rw-r--r--gdb/m2-exp.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index e291d62..3fb4685 100644
--- a/gdb/m2-exp.y
+++ b/gdb/m2-exp.y
@@ -216,6 +216,7 @@ type_exp: type
exp : exp '^' %prec UNARY
{ write_exp_elt_opcode (UNOP_IND); }
+ ;
exp : '-'
{ number_sign = -1; }
@@ -330,6 +331,7 @@ exp : INCL '(' exp ',' exp ')'
exp : EXCL '(' exp ',' exp ')'
{ error("Sets are not implemented.");}
+ ;
set : '{' arglist '}'
{ error("Sets are not implemented.");}