This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Revert "bison warning fixes"
- From: Alan Modra <amodra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 26 Oct 2016 01:17:07 -0000
- Subject: [binutils-gdb] Revert "bison warning fixes"
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2a3a7490761797388aae10da3c4b2fba6b876007
commit 2a3a7490761797388aae10da3c4b2fba6b876007
Author: Alan Modra <amodra@gmail.com>
Date: Wed Oct 26 09:28:31 2016 +1030
Revert "bison warning fixes"
This reverts commit 95e61695c199a07c832153cea25ae9c331d16a3c. People
still want to use older versions of bison, apparently.
Revert 2016-10-06 Alan Modra <amodra@gmail.com>
* config/rl78-parse.y: Do use old %name-prefix syntax.
* config/rx-parse.y: Likewise.
Diff:
---
gas/ChangeLog | 6 ++++++
gas/config/rl78-parse.y | 2 +-
gas/config/rx-parse.y | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f51df74..e506283 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2016-10-26 Alan Modra <amodra@gmail.com>
+
+ Revert 2016-10-06 Alan Modra <amodra@gmail.com>
+ * config/rl78-parse.y: Do use old %name-prefix syntax.
+ * config/rx-parse.y: Likewise.
+
2016-10-21 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (cpu_arch): Remove .pcommit.
diff --git a/gas/config/rl78-parse.y b/gas/config/rl78-parse.y
index dc98168..72a6561 100644
--- a/gas/config/rl78-parse.y
+++ b/gas/config/rl78-parse.y
@@ -139,7 +139,7 @@ reg_xbc (int reg)
%}
-%name-prefix "rl78_"
+%name-prefix="rl78_"
%union {
int regno;
diff --git a/gas/config/rx-parse.y b/gas/config/rx-parse.y
index 72e03b7..c0e3217 100644
--- a/gas/config/rx-parse.y
+++ b/gas/config/rx-parse.y
@@ -130,7 +130,7 @@ static int sub_op2;
%}
-%name-prefix "rx_"
+%name-prefix="rx_"
%union {
int regno;