* ada-exp.y: Add missing semicolons to end rules. Fixes a
bison 1.35 warning.
This commit is contained in:
parent
a23a7bf1bb
commit
525d6a611f
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-09-19 Joel Brobecker <brobecker@gnat.com>
|
||||||
|
|
||||||
|
* ada-exp.y: Add missing semicolons to end rules. Fixes a
|
||||||
|
bison 1.35 warning.
|
||||||
|
|
||||||
2002-09-19 Richard Earnshaw <rearnsha@arm.com>
|
2002-09-19 Richard Earnshaw <rearnsha@arm.com>
|
||||||
|
|
||||||
* gdb_mbuild.sh: New file.
|
* gdb_mbuild.sh: New file.
|
||||||
|
|
|
@ -256,6 +256,7 @@ simple_exp : type '\'' save_qualifier { type_qualifier = $1; } '(' exp ')'
|
||||||
;
|
;
|
||||||
|
|
||||||
save_qualifier : { $$ = type_qualifier; }
|
save_qualifier : { $$ = type_qualifier; }
|
||||||
|
;
|
||||||
|
|
||||||
simple_exp :
|
simple_exp :
|
||||||
simple_exp '(' exp DOTDOT exp ')'
|
simple_exp '(' exp DOTDOT exp ')'
|
||||||
|
@ -532,7 +533,7 @@ exp : CHARLIT
|
||||||
(convert_char_literal (type_qualifier, $1.val));
|
(convert_char_literal (type_qualifier, $1.val));
|
||||||
write_exp_elt_opcode (OP_LONG);
|
write_exp_elt_opcode (OP_LONG);
|
||||||
}
|
}
|
||||||
|
;
|
||||||
|
|
||||||
exp : FLOAT
|
exp : FLOAT
|
||||||
{ write_exp_elt_opcode (OP_DOUBLE);
|
{ write_exp_elt_opcode (OP_DOUBLE);
|
||||||
|
@ -548,6 +549,7 @@ exp : NULL_PTR
|
||||||
write_exp_elt_longcst ((LONGEST)(0));
|
write_exp_elt_longcst ((LONGEST)(0));
|
||||||
write_exp_elt_opcode (OP_LONG);
|
write_exp_elt_opcode (OP_LONG);
|
||||||
}
|
}
|
||||||
|
;
|
||||||
|
|
||||||
exp : STRING
|
exp : STRING
|
||||||
{ /* Ada strings are converted into array constants
|
{ /* Ada strings are converted into array constants
|
||||||
|
|
Loading…
Reference in a new issue