aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ch-exp.y2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 82ace3e..ad3302b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+Mon May 10 13:14:46 1993 Fred Fish (fnf@cygnus.com)
+
+ * ch-exp.y (start): Apply work-around to avoid bison warning.
+
Sun May 9 07:25:02 1993 Fred Fish (fnf@cygnus.com)
* Makefile.in (BISON): Remove double quotes around BISON
diff --git a/gdb/ch-exp.y b/gdb/ch-exp.y
index 2789d76..a618283 100644
--- a/gdb/ch-exp.y
+++ b/gdb/ch-exp.y
@@ -309,7 +309,7 @@ yyerror PARAMS ((char *));
/* Z.200, 5.3.1 */
-start : value
+start : value { }
| mode_name
{ write_exp_elt_opcode(OP_TYPE);
write_exp_elt_type($1.type);