mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
yystype, yyltype: remove.
* data/c.m4: here. * NEWS: Doc it.
This commit is contained in:
2
NEWS
2
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
|
||||
|
||||
|
||||
@@ -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]])
|
||||
|
||||
Reference in New Issue
Block a user