commit 90a5bff5392764f9e33750873022f7d6159975b2
Author: Akim Demaille <[email protected]>
Date:   Sun Jan 26 08:52:34 2020 +0100

    bison: pretend to 3.6 already
    
    * src/parse-gram.y: here.

diff --git a/src/parse-gram.c b/src/parse-gram.c
index 1c988c38..f8698c17 100644
--- a/src/parse-gram.c
+++ b/src/parse-gram.c
@@ -2946,9 +2946,9 @@ handle_require (location const *loc, char const *version)
       return;
     }
 
-  /* Pretend to be at least 3.5, to check features published in that
-     version while developping it.  */
-  const char* api_version = "3.5";
+  /* Pretend to be at least that version, to check features published
+     in that version while developping it.  */
+  const char* api_version = "3.6";
   const char* package_version =
     0 < strverscmp (api_version, PACKAGE_VERSION)
     ? api_version : PACKAGE_VERSION;
diff --git a/src/parse-gram.y b/src/parse-gram.y
index f04bd25d..05c67d5d 100644
--- a/src/parse-gram.y
+++ b/src/parse-gram.y
@@ -1041,9 +1041,9 @@ handle_require (location const *loc, char const *version)
       return;
     }
 
-  /* Pretend to be at least 3.5, to check features published in that
-     version while developping it.  */
-  const char* api_version = "3.5";
+  /* Pretend to be at least that version, to check features published
+     in that version while developping it.  */
+  const char* api_version = "3.6";
   const char* package_version =
     0 < strverscmp (api_version, PACKAGE_VERSION)
     ? api_version : PACKAGE_VERSION;


Reply via email to