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;