bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] yystype, yyltype: remove.


From: Akim Demaille
Subject: [PATCH 1/2] yystype, yyltype: remove.
Date: Fri, 27 Jul 2012 17:10:49 +0200

* data/c.m4: here.
* NEWS: Doc it.
---
 NEWS      | 2 ++
 data/c.m4 | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index fa339ae..fe23b55 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,8 @@ GNU Bison NEWS
 *** Obsolete features
 
   Support for YYFAIL is removed, as announced since Bison 2.4.2.
+  Support for yystype and yyltype (instead of YYSTYPE and YYLTYPE)
+  is removed, as announced in Bison 1.875.
 
 ** Warnings
 
diff --git a/data/c.m4 b/data/c.m4
index ded8e37..b8659eb 100644
--- a/data/c.m4
+++ b/data/c.m4
@@ -594,7 +594,6 @@ m4_define([b4_declare_yylstype],
 [m4_if(b4_tag_seen_flag, 0,
 [[typedef int ]b4_api_PREFIX[STYPE;
 # define ]b4_api_PREFIX[STYPE_IS_TRIVIAL 1]])])[
-# define ]b4_api_prefix[stype ]b4_api_PREFIX[STYPE /* obsolescent; will be 
withdrawn */
 # define ]b4_api_PREFIX[STYPE_IS_DECLARED 1
 #endif]b4_locations_if([[
 
@@ -606,7 +605,6 @@ typedef struct ]b4_api_PREFIX[LTYPE
   int last_line;
   int last_column;
 } ]b4_api_PREFIX[LTYPE;
-# define ]b4_api_prefix[ltype ]b4_api_PREFIX[LTYPE /* obsolescent; will be 
withdrawn */
 # define ]b4_api_PREFIX[LTYPE_IS_DECLARED 1
 # define ]b4_api_PREFIX[LTYPE_IS_TRIVIAL 1
 #endif]])
-- 
1.7.11.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]