aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-10-26 09:28:31 +1030
committerAlan Modra <amodra@gmail.com>2016-10-26 11:45:50 +1030
commit2a3a7490761797388aae10da3c4b2fba6b876007 (patch)
tree2eaad682e882769f0bfc943c7ffe229630893f2f
parent21280c0ae32e182a4401d18664c3da89a7da17fd (diff)
downloadgdb-2a3a7490761797388aae10da3c4b2fba6b876007.zip
gdb-2a3a7490761797388aae10da3c4b2fba6b876007.tar.gz
gdb-2a3a7490761797388aae10da3c4b2fba6b876007.tar.bz2
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.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/rl78-parse.y2
-rw-r--r--gas/config/rx-parse.y2
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;