From e6b0612f91bfac655e3e0d407bed4490d7bd3c11 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sun, 26 Jan 2020 08:52:34 +0100 Subject: [PATCH] bison: pretend to 3.6 already * src/parse-gram.y: here. --- src/parse-gram.c | 6 +++--- src/parse-gram.y | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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;