This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] bison warning fixes


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=95e61695c199a07c832153cea25ae9c331d16a3c

commit 95e61695c199a07c832153cea25ae9c331d16a3c
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Oct 6 08:55:23 2016 +1030

    bison warning fixes
    
    	* config/rl78-parse.y: Don't use deprecated %name-prefix.
    	* config/rx-parse.y: Likewise.

Diff:
---
 gas/ChangeLog           | 5 +++++
 gas/config/rl78-parse.y | 2 +-
 gas/config/rx-parse.y   | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7292178..22a948d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2016-10-06  Alan Modra  <amodra@gmail.com>
+
+	* config/rl78-parse.y: Don't use deprecated %name-prefix.
+	* config/rx-parse.y: Likewise.
+
 2016-09-29  Jiong Wang  <jiong.wang@arm.com>
 
 	PR target/20553
diff --git a/gas/config/rl78-parse.y b/gas/config/rl78-parse.y
index 72a6561..dc98168 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 c0e3217..72e03b7 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]