yystype, yyltype: remove.

* data/c.m4: here.
* NEWS: Doc it.
This commit is contained in:
Akim Demaille
2012-07-24 08:53:48 +02:00
parent 007c5908b9
commit 5f819b2f98
2 changed files with 2 additions and 2 deletions

2
NEWS
View File

@@ -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

View File

@@ -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]])