]> git.saurik.com Git - bison.git/commitdiff
yystype, yyltype: remove.
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 24 Jul 2012 06:53:48 +0000 (08:53 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 24 Jul 2012 06:53:48 +0000 (08:53 +0200)
* data/c.m4: here.
* NEWS: Doc it.

NEWS
data/c.m4

diff --git a/NEWS b/NEWS
index fa339aea75e260e68f6bb8cfabad61b18926f10c..fe23b5562002c0a727c27dc50c2795b2606e6fc3 100644 (file)
--- 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
 
index ded8e374a7c939348d1ab51f7c4d185c61ade950..b8659eb41421242f6fc18540619db55d453ac82e 100644 (file)
--- 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]])