From 5f819b2f98acc4556f3e3ce8ef78e54efb3420e6 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 24 Jul 2012 08:53:48 +0200 Subject: [PATCH] yystype, yyltype: remove. * 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 fa339aea..fe23b556 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 ded8e374..b8659eb4 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]]) -- 2.45.2