This commit is contained in:
Akim Demaille
2012-07-31 14:18:43 +02:00
parent c9d546b2a8
commit a0c45dd5d2
2 changed files with 9 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 2.6.29-cd73-dirty. */
/* A Bison parser, made by GNU Bison 2.6.1.6-b045. */
/* Bison implementation for Yacc-like parsers in C
@@ -44,7 +44,7 @@
#define YYBISON 1
/* Bison version. */
#define YYBISON_VERSION "2.6.29-cd73-dirty"
#define YYBISON_VERSION "2.6.1.6-b045"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
@@ -3169,11 +3169,13 @@ add_param (char const *type, char *decl, location loc)
/* Strip the surrounding '{' and '}', and any blanks just inside
the braces. */
while (*--p == ' ' || *p == '\t')
continue;
--p;
while (isspace ((unsigned char) *p))
--p;
p[1] = '\0';
while (*++decl == ' ' || *decl == '\t')
continue;
++decl;
while (isspace ((unsigned char) *decl))
++decl;
if (! name_start)
complain_at (loc, _("missing identifier in parameter declaration"));

View File

@@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 2.6.29-cd73-dirty. */
/* A Bison parser, made by GNU Bison 2.6.1.6-b045. */
/* Bison interface for Yacc-like parsers in C