package: fix details after merge with 3.7.5

* TODO, cfg.mk: Update.
* src/parse-gram.c, src/parse-gram.h: Regen.
This commit is contained in:
Akim Demaille
2021-01-24 09:30:02 +01:00
parent c94456986d
commit 51f12cffd2
4 changed files with 38 additions and 5 deletions

22
TODO
View File

@@ -1,4 +1,26 @@
* Soon
** Missing tests
commit c22902e360e0fbbe9fd5657dcf107e03166da309
Author: Akim Demaille <akim.demaille@gmail.com>
Date: Sat Jan 23 18:40:15 2021 +0100
tables: fix handling for useless tokens
See https://github.com/akimd/bison/issues/72#issuecomment-766153154
commit 2c294c132528ede23d8ae4959783a67e9ff05ac5
Author: Vincent Imbimbo <vmi6@cornell.edu>
Date: Sat Jan 23 13:25:18 2021 -0500
cex: fix state-item pruning
See https://lists.gnu.org/r/bug-bison/2021-01/msg00002.html
** pos_set_set
The current approach is correct, but with poor performances. Bitsets need
to support 'assign' and 'shift'. And instead of extending POS_SET just for
the out-of-range new values, we need something like doubling the size.
** YY_LOCATION_PRINT
This is an internal detail. But it's very handy, we should make it public.
It already has leaked in the documentation by accident.

1
cfg.mk
View File

@@ -156,7 +156,6 @@ exclude = \
$(call exclude, \
bindtextdomain=^lib/main.c$$ \
cast_of_argument_to_free=^src/muscle-tab.c$$ \
copyright_check=gnulib/lib/version-etc.c$$ \
error_message_uppercase=etc/bench.pl.in$$ \
po_check=^tests|(^po/POTFILES.in|.md)$$ \
preprocessor_indentation=^data/|^lib/|^src/parse-gram.[ch]$$ \

View File

@@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 3.7.4.273-d85e. */
/* A Bison parser, made by GNU Bison 3.7.5.284-c9445. */
/* Bison implementation for Yacc-like parsers in C
@@ -46,10 +46,10 @@
USER NAME SPACE" below. */
/* Identify Bison output, and Bison version. */
#define YYBISON 30704
#define YYBISON 30705
/* Bison version string. */
#define YYBISON_VERSION "3.7.4.273-d85e"
#define YYBISON_VERSION "3.7.5.284-c9445"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
@@ -367,6 +367,18 @@ typedef int_least16_t yytype_int16;
typedef short yytype_int16;
#endif
/* Work around bug in HP-UX 11.23, which defines these macros
incorrectly for preprocessor constants. This workaround can likely
be removed in 2023, as HPE has promised support for HP-UX 11.23
(aka HP-UX 11i v2) only through the end of 2022; see Table 2 of
<https://h20195.www2.hpe.com/V2/getpdf.aspx/4AA4-7673ENW.pdf>. */
#ifdef __hpux
# undef UINT_LEAST8_MAX
# undef UINT_LEAST16_MAX
# define UINT_LEAST8_MAX 255
# define UINT_LEAST16_MAX 65535
#endif
#if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__
typedef __UINT_LEAST8_TYPE__ yytype_uint8;
#elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \

View File

@@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 3.7.4.273-d85e. */
/* A Bison parser, made by GNU Bison 3.7.5.284-c9445. */
/* Bison interface for Yacc-like parsers in C