mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
Merge remote-tracking branch 'origin/maint'
* origin/maint: tests: headers.at: strengthen. glr.cc: do not override C++ definitions by C macros. YYLLOC_DEFAULT: factor, and don't export it in headers. api.prefix: do not use #define to handle YYSTYPE_IS_TRIVIAL etc. tests: portability fixes. c++: fewer #includes in the headers. glr.cc: formatting changes. tests: more logs. api.prefix: also rename YYDEBUG. Conflicts: data/c.m4 data/glr.c data/glr.cc data/lalr1.cc data/yacc.c
This commit is contained in:
17
NEWS
17
NEWS
@@ -213,10 +213,19 @@ GNU Bison NEWS
|
||||
# define BAR_FOO_H # define BAR_FOO_H
|
||||
|
||||
/* Enabling traces. */ /* Enabling traces. */
|
||||
# ifndef YYDEBUG # ifndef YYDEBUG
|
||||
# define YYDEBUG 0 # define YYDEBUG 0
|
||||
# endif # endif
|
||||
# if YYDEBUG # if YYDEBUG
|
||||
# ifndef YYDEBUG | # ifndef BAR_DEBUG
|
||||
> # if defined YYDEBUG
|
||||
> # if YYDEBUG
|
||||
> # define BAR_DEBUG 1
|
||||
> # else
|
||||
> # define BAR_DEBUG 0
|
||||
> # endif
|
||||
> # else
|
||||
# define YYDEBUG 0 | # define BAR_DEBUG 0
|
||||
> # endif
|
||||
# endif | # endif
|
||||
|
||||
# if YYDEBUG | # if BAR_DEBUG
|
||||
extern int bar_debug; extern int bar_debug;
|
||||
# endif # endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user