This commit is contained in:
Akim Demaille
2012-08-03 11:09:22 +02:00
parent c85541913b
commit 52cc1ebda2
2 changed files with 16 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 2.6.1.835-7c52-dirty. */ /* A Bison parser, made by GNU Bison 2.6.2.834-6d7b9. */
/* 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 "2.6.1.835-7c52-dirty" #define YYBISON_VERSION "2.6.2.834-6d7b9"
/* Skeleton name. */ /* Skeleton name. */
#define YYSKELETON_NAME "yacc.c" #define YYSKELETON_NAME "yacc.c"
@@ -3198,8 +3198,7 @@ yyreturn:
#endif #endif
return yyresult; return yyresult;
} }
/* Line 1936 of yacc.c */
/* Line 1937 of yacc.c */
#line 724 "src/parse-gram.y" #line 724 "src/parse-gram.y"
@@ -3255,11 +3254,13 @@ add_param (param_type type, char *decl, location loc)
/* Strip the surrounding '{' and '}', and any blanks just inside /* Strip the surrounding '{' and '}', and any blanks just inside
the braces. */ the braces. */
while (*--p == ' ' || *p == '\t') --p;
continue; while (isspace ((unsigned char) *p))
--p;
p[1] = '\0'; p[1] = '\0';
while (*++decl == ' ' || *decl == '\t') ++decl;
continue; while (isspace ((unsigned char) *decl))
++decl;
} }
if (! name_start) if (! name_start)

View File

@@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 2.6.1.835-7c52-dirty. */ /* A Bison parser, made by GNU Bison 2.6.2.834-6d7b9. */
/* Bison interface for Yacc-like parsers in C /* Bison interface for Yacc-like parsers in C
@@ -40,7 +40,7 @@
extern int gram_debug; extern int gram_debug;
#endif #endif
/* "%code requires" blocks. */ /* "%code requires" blocks. */
/* Line 1938 of yacc.c */ /* Line 1937 of yacc.c */
#line 222 "src/parse-gram.y" #line 222 "src/parse-gram.y"
# ifndef PARAM_TYPE # ifndef PARAM_TYPE
@@ -55,7 +55,7 @@ extern int gram_debug;
# endif # endif
/* Line 1938 of yacc.c */ /* Line 1937 of yacc.c */
#line 60 "src/parse-gram.h" #line 60 "src/parse-gram.h"
/* Tokens. */ /* Tokens. */
@@ -182,7 +182,7 @@ extern int gram_debug;
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE typedef union YYSTYPE
{ {
/* Line 1938 of yacc.c */ /* Line 1937 of yacc.c */
#line 108 "src/parse-gram.y" #line 108 "src/parse-gram.y"
assoc assoc; assoc assoc;
@@ -195,16 +195,16 @@ typedef union YYSTYPE
uniqstr uniqstr; uniqstr uniqstr;
unsigned char character; unsigned char character;
/* Line 1938 of yacc.c */ /* Line 1937 of yacc.c */
#line 246 "src/parse-gram.y" #line 246 "src/parse-gram.y"
param_type param; param_type param;
/* Line 1938 of yacc.c */ /* Line 1937 of yacc.c */
#line 425 "src/parse-gram.y" #line 425 "src/parse-gram.y"
code_props_type code_type; code_props_type code_type;
/* Line 1938 of yacc.c */ /* Line 1937 of yacc.c */
#line 209 "src/parse-gram.h" #line 209 "src/parse-gram.h"
} YYSTYPE; } YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_TRIVIAL 1