[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 00/11] {master} remove oldies: lint, YYPARSE_PARAM, and K&R suppo
From: |
Akim Demaille |
Subject: |
[PATCH 00/11] {master} remove oldies: lint, YYPARSE_PARAM, and K&R support |
Date: |
Fri, 3 Aug 2012 10:39:50 +0200 |
The generated files are much nicer to read after this batch of
changes. For instance, on Bison's own parser:
-#ifdef YYPARSE_PARAM
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
-int gram_parse (void *YYPARSE_PARAM);
-#else
-int gram_parse ();
-#endif
-#else /* ! YYPARSE_PARAM */
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
int gram_parse (void);
-#else
-int gram_parse ();
-#endif
-#endif /* ! YYPARSE_PARAM */
-/*ARGSUSED*/
-#if (defined __STDC__ || defined __C99__FUNC__ \
- || defined __cplusplus || defined _MSC_VER)
static void
yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const
yyvaluep, YYLTYPE c
-#else
-static void
-yy_symbol_value_print (yyoutput, yytype, yyvaluep, yylocationp)
- FILE *yyoutput;
- int yytype;
- YYSTYPE const * const yyvaluep;
- YYLTYPE const * const yylocationp;
-#endif
Akim Demaille (11):
todo: more items
skeletons: remove K&R C support
YYPARSE_PARAM: drop support
regen
skeletons: b4_args -> b4_join to prepare forthcoming changes
skeletons: renamings after knr removal
skeletons: simplify after knr removal
c++: fix a comment
skeletons: renamings after knr removal
remove support for lint
regen
NEWS | 5 +-
TODO | 8 +
data/bison.m4 | 14 +-
data/c++.m4 | 14 +-
data/c.m4 | 178 ++++-------
data/glr.c | 69 ++---
data/glr.cc | 10 +-
data/lalr1.cc | 20 +-
data/variant.hh | 6 +-
data/yacc.c | 102 +++----
doc/bison.texi | 7 -
src/getargs.c | 13 -
src/parse-gram.c | 883 ++++++++++++++++++++++++-------------------------------
src/parse-gram.h | 28 +-
tests/headers.at | 8 +-
15 files changed, 553 insertions(+), 812 deletions(-)
--
1.7.11.3
- [PATCH 00/11] {master} remove oldies: lint, YYPARSE_PARAM, and K&R support,
Akim Demaille <=
- [PATCH 05/11] skeletons: b4_args -> b4_join to prepare forthcoming changes, Akim Demaille, 2012/08/03
- [PATCH 03/11] YYPARSE_PARAM: drop support, Akim Demaille, 2012/08/03
- [PATCH 07/11] skeletons: simplify after knr removal, Akim Demaille, 2012/08/03
- [PATCH 01/11] todo: more items, Akim Demaille, 2012/08/03
- [PATCH 08/11] c++: fix a comment, Akim Demaille, 2012/08/03
- [PATCH 02/11] skeletons: remove K&R C support, Akim Demaille, 2012/08/03
- [PATCH 11/11] regen, Akim Demaille, 2012/08/03
- [PATCH 06/11] skeletons: renamings after knr removal, Akim Demaille, 2012/08/03
- [PATCH 10/11] remove support for lint, Akim Demaille, 2012/08/03
- [PATCH 09/11] skeletons: renamings after knr removal, Akim Demaille, 2012/08/03