bison: pretend to 3.6 already

* src/parse-gram.y: here.
This commit is contained in:
Akim Demaille
2020-01-26 08:52:34 +01:00
parent 2eb3328afc
commit e6b0612f91
2 changed files with 6 additions and 6 deletions

View File

@@ -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;

View File

@@ -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;