bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

package: fix details after merge with 3.7.5


From: Akim Demaille
Subject: package: fix details after merge with 3.7.5
Date: Sun, 24 Jan 2021 09:32:21 +0100

commit 51f12cffd2c0d0e73054668fa6816ccad36a801d
Author: Akim Demaille <akim.demaille@gmail.com>
Date:   Sun Jan 24 09:30:02 2021 +0100

    package: fix details after merge with 3.7.5
    
    * TODO, cfg.mk: Update.
    * src/parse-gram.c, src/parse-gram.h: Regen.

diff --git a/TODO b/TODO
index 4f89e7492..c52f5358b 100644
--- a/TODO
+++ b/TODO
@@ -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.
diff --git a/cfg.mk b/cfg.mk
index 84756ac5d..6725a1866 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -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]$$                 
 \
diff --git a/src/parse-gram.c b/src/parse-gram.c
index 38bb60fbf..a5c78c427 100644
--- a/src/parse-gram.c
+++ b/src/parse-gram.c
@@ -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 \
diff --git a/src/parse-gram.h b/src/parse-gram.h
index f8019c173..15be83e45 100644
--- a/src/parse-gram.h
+++ b/src/parse-gram.h
@@ -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
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]