This commit is contained in:
Akim Demaille
2018-05-27 10:46:31 +02:00
parent 6fd3372db4
commit 4eeec4e41f
2 changed files with 7 additions and 7 deletions

View File

@@ -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 /* Bison implementation for Yacc-like parsers in C
@@ -44,7 +44,7 @@
#define YYBISON 1 #define YYBISON 1
/* Bison version. */ /* Bison version. */
#define YYBISON_VERSION "3.0.4.26-d132-dirty" #define YYBISON_VERSION "3.0.4.38-1047-dirty"
/* Skeleton name. */ /* Skeleton name. */
#define YYSKELETON_NAME "yacc.c" #define YYSKELETON_NAME "yacc.c"
@@ -3034,7 +3034,7 @@ translate_code_braceless (char *code, location loc)
static void static void
add_param (param_type type, char *decl, location loc) 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"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"_" "_"
@@ -3046,14 +3046,14 @@ add_param (param_type type, char *decl, location loc)
/* Stop on last actual character. */ /* Stop on last actual character. */
for (p = decl; p[1]; p++) for (p = decl; p[1]; p++)
if ((p == decl if ((p == decl
|| ! memchr (alphanum, p[-1], sizeof alphanum)) || ! memchr (alphanum, p[-1], sizeof alphanum - 1))
&& memchr (alphanum, p[0], sizeof alphanum - 10)) && memchr (alphanum, p[0], sizeof alphanum - 10 - 1))
name_start = p; name_start = p;
/* Strip the surrounding '{' and '}', and any blanks just inside /* Strip the surrounding '{' and '}', and any blanks just inside
the braces. */ the braces. */
--p; --p;
while (c_isspace ((unsigned char) *p)) while (c_isspace ((unsigned char) *p))
--p; --p;
p[1] = '\0'; p[1] = '\0';
++decl; ++decl;

View File

@@ -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 /* Bison interface for Yacc-like parsers in C