bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/3] regen


From: Akim Demaille
Subject: [PATCH 3/3] regen
Date: Tue, 31 Jul 2012 14:23:24 +0200

---
 src/parse-gram.c | 14 ++++++++------
 src/parse-gram.h |  2 +-
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/parse-gram.c b/src/parse-gram.c
index 3d0e0b8..207938d 100644
--- a/src/parse-gram.c
+++ b/src/parse-gram.c
@@ -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"));
diff --git a/src/parse-gram.h b/src/parse-gram.h
index 10de0a6..50cfe23 100644
--- a/src/parse-gram.h
+++ b/src/parse-gram.h
@@ -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
    
-- 
1.7.11.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]