bison-patches
[Top][All Lists]
Advanced

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

bison: pretend to 3.6 already


From: Akim Demaille
Subject: bison: pretend to 3.6 already
Date: Sun, 26 Jan 2020 09:07:30 +0100

commit 90a5bff5392764f9e33750873022f7d6159975b2
Author: Akim Demaille <address@hidden>
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

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