diff options
author | Joel Brobecker <brobecker@gnat.com> | 2002-09-19 13:59:26 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2002-09-19 13:59:26 +0000 |
commit | b6883033004053b208c32e6097942136c530d476 (patch) | |
tree | 8df741417eaf243e3daf443dd0e21a15e39330ea /gdb/ada-exp.y | |
parent | bb2e545b09a7abab555c4b6749fe775d13a2f89f (diff) | |
download | gdb-b6883033004053b208c32e6097942136c530d476.tar.gz |
* ada-exp.y: Add missing semicolons to end rules. Fixes a
bison 1.35 warning.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r-- | gdb/ada-exp.y | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index 2e34e019cd6..70a4b584f1c 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -256,6 +256,7 @@ simple_exp : type '\'' save_qualifier { type_qualifier = $1; } '(' exp ')' ; save_qualifier : { $$ = type_qualifier; } + ; simple_exp : simple_exp '(' exp DOTDOT exp ')' @@ -532,7 +533,7 @@ exp : CHARLIT (convert_char_literal (type_qualifier, $1.val)); write_exp_elt_opcode (OP_LONG); } - + ; exp : FLOAT { write_exp_elt_opcode (OP_DOUBLE); @@ -548,6 +549,7 @@ exp : NULL_PTR write_exp_elt_longcst ((LONGEST)(0)); write_exp_elt_opcode (OP_LONG); } + ; exp : STRING { /* Ada strings are converted into array constants |