mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 18:23:03 +00:00
Merge remote-tracking branch 'origin/maint'
* origin/maint: regen yacc: fix handling of CPP guards when no header is generated gnulib: update
This commit is contained in:
11
NEWS
11
NEWS
@@ -199,6 +199,17 @@ GNU Bison NEWS
|
|||||||
|
|
||||||
* Noteworthy changes in release ?.? (????-??-??) [?]
|
* Noteworthy changes in release ?.? (????-??-??) [?]
|
||||||
|
|
||||||
|
** Bug fixes
|
||||||
|
|
||||||
|
Bugs in the test suite have been fixed.
|
||||||
|
|
||||||
|
Some errors in translations have been addressed, and --help now directs
|
||||||
|
users to the appropriate place to report them.
|
||||||
|
|
||||||
|
Stray Info files shipped by accident are removed.
|
||||||
|
|
||||||
|
Incorrect definitions of YY_, issued by yacc.c when no parser header is
|
||||||
|
generated, are removed.
|
||||||
|
|
||||||
* Noteworthy changes in release 2.6.2 (2012-08-03) [stable]
|
* Noteworthy changes in release 2.6.2 (2012-08-03) [stable]
|
||||||
|
|
||||||
|
|||||||
@@ -36,13 +36,15 @@ m4_define([b4_cpp_guard],
|
|||||||
# b4_cpp_guard_open(FILE)
|
# b4_cpp_guard_open(FILE)
|
||||||
# b4_cpp_guard_close(FILE)
|
# b4_cpp_guard_close(FILE)
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Open/close CPP inclusion guards for FILE.
|
# If FILE does not expand to nothing, open/close CPP inclusion guards for FILE.
|
||||||
m4_define([b4_cpp_guard_open],
|
m4_define([b4_cpp_guard_open],
|
||||||
|
[m4_ifval(m4_quote($1),
|
||||||
[#ifndef b4_cpp_guard([$1])
|
[#ifndef b4_cpp_guard([$1])
|
||||||
# define b4_cpp_guard([$1])])
|
# define b4_cpp_guard([$1])])])
|
||||||
|
|
||||||
m4_define([b4_cpp_guard_close],
|
m4_define([b4_cpp_guard_close],
|
||||||
[#endif b4_comment([!b4_cpp_guard([$1])])])
|
[m4_ifval(m4_quote($1),
|
||||||
|
[#endif b4_comment([!b4_cpp_guard([$1])])])])
|
||||||
|
|
||||||
|
|
||||||
## ---------------- ##
|
## ---------------- ##
|
||||||
|
|||||||
@@ -340,9 +340,11 @@ m4_if(b4_api_prefix, [yy], [],
|
|||||||
# define YYERROR_VERBOSE ]b4_error_verbose_if([1], [0])[
|
# define YYERROR_VERBOSE ]b4_error_verbose_if([1], [0])[
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* In a future release of Bison, this section will be replaced
|
]m4_ifval(m4_quote(b4_spec_defines_file),
|
||||||
|
[[/* In a future release of Bison, this section will be replaced
|
||||||
by #include "@basename(]b4_spec_defines_file[@)". */
|
by #include "@basename(]b4_spec_defines_file[@)". */
|
||||||
]b4_shared_declarations[
|
]])dnl
|
||||||
|
b4_shared_declarations[
|
||||||
|
|
||||||
/* Copy the second part of user declarations. */
|
/* Copy the second part of user declarations. */
|
||||||
]b4_user_post_prologue
|
]b4_user_post_prologue
|
||||||
|
|||||||
2
gnulib
2
gnulib
Submodule gnulib updated: bd54a45e6e...cb38ce7db8
2
lib/.gitignore
vendored
2
lib/.gitignore
vendored
@@ -271,3 +271,5 @@
|
|||||||
/xsize.h
|
/xsize.h
|
||||||
/xstrndup.c
|
/xstrndup.c
|
||||||
/xstrndup.h
|
/xstrndup.h
|
||||||
|
/binary-io.c
|
||||||
|
/xsize.c
|
||||||
|
|||||||
1
m4/.gitignore
vendored
1
m4/.gitignore
vendored
@@ -182,3 +182,4 @@
|
|||||||
/xsize.m4
|
/xsize.m4
|
||||||
/xstrndup.m4
|
/xstrndup.m4
|
||||||
/obstack-printf.m4
|
/obstack-printf.m4
|
||||||
|
/extern-inline.m4
|
||||||
|
|||||||
Reference in New Issue
Block a user