summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ae6bdab)
This is already what glr.c and lalr1.cc do.
* data/yacc.c: here.
* Noteworthy changes in release ?.? (????-??-??) [?]
* Noteworthy changes in release ?.? (????-??-??) [?]
+** Future changes:
+
+ The next major release will drop support for generating parsers in K&R C,
+ and remove the definition of yystype (removal announced since Bison
+ 1.875).
+
+** Changes in regular C parsers (yacc.c):
+
+*** The generated header is included
+
+ Instead of duplicating the content of the generated header (definition of
+ YYSTYPE, yyltype etc.), the generated parser now includes it, as was
+ already the case for GLR or C++ parsers.
+
* Noteworthy changes in release 2.5.1 (2012-06-05) [stable]
** Future changes:
* Noteworthy changes in release 2.5.1 (2012-06-05) [stable]
** Future changes:
]b4_null_define[
]b4_defines_if([[#include "@basename(]b4_spec_defines_file[@)"]],
]b4_null_define[
]b4_defines_if([[#include "@basename(]b4_spec_defines_file[@)"]],
- [b4_shared_declarations])[
+ [b4_shared_declarations])[
/* Enabling traces. */
#ifndef YYDEBUG
/* Enabling traces. */
#ifndef YYDEBUG
# define YYTOKEN_TABLE ]b4_token_table[
#endif
# define YYTOKEN_TABLE ]b4_token_table[
#endif
-]b4_shared_declarations[
+]b4_defines_if([[#include "@basename(]b4_spec_defines_file[@)"]],
+ [b4_shared_declarations])[
/* Copy the second part of user declarations. */
]b4_user_post_prologue
/* Copy the second part of user declarations. */
]b4_user_post_prologue