From 52cc1ebda23a97770c69bcd057060486b0f9e980 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 3 Aug 2012 11:09:22 +0200 Subject: [PATCH] regen --- src/parse-gram.c | 17 +++++++++-------- src/parse-gram.h | 14 +++++++------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/src/parse-gram.c b/src/parse-gram.c index b17cbf24..7a19cf18 100644 --- a/src/parse-gram.c +++ b/src/parse-gram.c @@ -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 @@ -44,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "2.6.1.835-7c52-dirty" +#define YYBISON_VERSION "2.6.2.834-6d7b9" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -3198,8 +3198,7 @@ yyreturn: #endif return yyresult; } - -/* Line 1937 of yacc.c */ +/* Line 1936 of yacc.c */ #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 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) diff --git a/src/parse-gram.h b/src/parse-gram.h index c9a5aa51..7ca548f8 100644 --- a/src/parse-gram.h +++ b/src/parse-gram.h @@ -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 @@ -40,7 +40,7 @@ extern int gram_debug; #endif /* "%code requires" blocks. */ -/* Line 1938 of yacc.c */ +/* Line 1937 of yacc.c */ #line 222 "src/parse-gram.y" # ifndef PARAM_TYPE @@ -55,7 +55,7 @@ extern int gram_debug; # endif -/* Line 1938 of yacc.c */ +/* Line 1937 of yacc.c */ #line 60 "src/parse-gram.h" /* Tokens. */ @@ -182,7 +182,7 @@ extern int gram_debug; #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE { -/* Line 1938 of yacc.c */ +/* Line 1937 of yacc.c */ #line 108 "src/parse-gram.y" assoc assoc; @@ -195,16 +195,16 @@ typedef union YYSTYPE uniqstr uniqstr; unsigned char character; -/* Line 1938 of yacc.c */ +/* Line 1937 of yacc.c */ #line 246 "src/parse-gram.y" param_type param; -/* Line 1938 of yacc.c */ +/* Line 1937 of yacc.c */ #line 425 "src/parse-gram.y" code_props_type code_type; -/* Line 1938 of yacc.c */ +/* Line 1937 of yacc.c */ #line 209 "src/parse-gram.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 -- 2.45.2