aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2002-09-19 13:59:26 +0000
committerJoel Brobecker <brobecker@gnat.com>2002-09-19 13:59:26 +0000
commit525d6a611f1677a6a2703be97b70cddf377920a7 (patch)
tree6082379dce834607ceda6d6796ec030b3f87d440 /gdb
parenta23a7bf1bbdd46bdfe834a148a1c03bcc7b80857 (diff)
downloadgdb-525d6a611f1677a6a2703be97b70cddf377920a7.zip
gdb-525d6a611f1677a6a2703be97b70cddf377920a7.tar.gz
gdb-525d6a611f1677a6a2703be97b70cddf377920a7.tar.bz2
* ada-exp.y: Add missing semicolons to end rules. Fixes a
bison 1.35 warning.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ada-exp.y4
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8f7b8e0..f3cd1c4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
* gdb_mbuild.sh: New file.
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index 2e34e01..70a4b58 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