[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 8/8] regen
From: |
Akim Demaille |
Subject: |
[PATCH 8/8] regen |
Date: |
Sun, 27 May 2018 10:55:35 +0200 |
---
src/parse-gram.c | 12 ++++++------
src/parse-gram.h | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/parse-gram.c b/src/parse-gram.c
index d3296432..ae55739d 100644
--- a/src/parse-gram.c
+++ b/src/parse-gram.c
@@ -1,4 +1,4 @@
-/* A Bison parser, made by GNU Bison 3.0.4.26-d132-dirty. */
+/* A Bison parser, made by GNU Bison 3.0.4.38-1047-dirty. */
/* Bison implementation for Yacc-like parsers in C
@@ -44,7 +44,7 @@
#define YYBISON 1
/* Bison version. */
-#define YYBISON_VERSION "3.0.4.26-d132-dirty"
+#define YYBISON_VERSION "3.0.4.38-1047-dirty"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
@@ -3034,7 +3034,7 @@ translate_code_braceless (char *code, location loc)
static void
add_param (param_type type, char *decl, location loc)
{
- static char const alphanum[26 + 26 + 1 + 10] =
+ static char const alphanum[26 + 26 + 1 + 10 + 1] =
"abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"_"
@@ -3046,14 +3046,14 @@ add_param (param_type type, char *decl, location loc)
/* Stop on last actual character. */
for (p = decl; p[1]; p++)
if ((p == decl
- || ! memchr (alphanum, p[-1], sizeof alphanum))
- && memchr (alphanum, p[0], sizeof alphanum - 10))
+ || ! memchr (alphanum, p[-1], sizeof alphanum - 1))
+ && memchr (alphanum, p[0], sizeof alphanum - 10 - 1))
name_start = p;
/* Strip the surrounding '{' and '}', and any blanks just inside
the braces. */
--p;
- while (c_isspace ((unsigned char) *p))
+ while (c_isspace ((unsigned char) *p))
--p;
p[1] = '\0';
++decl;
diff --git a/src/parse-gram.h b/src/parse-gram.h
index 19b379c0..450a7682 100644
--- a/src/parse-gram.h
+++ b/src/parse-gram.h
@@ -1,4 +1,4 @@
-/* A Bison parser, made by GNU Bison 3.0.4.26-d132-dirty. */
+/* A Bison parser, made by GNU Bison 3.0.4.38-1047-dirty. */
/* Bison interface for Yacc-like parsers in C
--
2.17.0
- [PATCH 0/8] maint: fix more warnings, Akim Demaille, 2018/05/27
- [PATCH 1/8] tests: fix -Wdeprecated warning, Akim Demaille, 2018/05/27
- [PATCH 3/8] C++: style: space before paren, Akim Demaille, 2018/05/27
- [PATCH 4/8] C++: style: prefer `unsigned` to `unsigned int`, Akim Demaille, 2018/05/27
- [PATCH 5/8] NEWS: update, Akim Demaille, 2018/05/27
- [PATCH 6/8] C++: style: fix indentation, Akim Demaille, 2018/05/27
- [PATCH 2/8] C++: fix -Wdeprecated warnings, Akim Demaille, 2018/05/27
- [PATCH 8/8] regen,
Akim Demaille <=
- [PATCH 7/8] bison: please address sanitizer, Akim Demaille, 2018/05/27