parser: pretend we are Bison 3.5

* src/parse-gram.y: Accept we're Bison 3.5.
This commit is contained in:
Akim Demaille
2019-12-08 15:50:17 +01:00
parent 4f961a706d
commit d55f240991
3 changed files with 20 additions and 19 deletions

View File

@@ -1021,9 +1021,9 @@ handle_require (location const *loc, char const *version)
return;
}
/* Pretend to be at least 3.4, to check features published in 3.4
while developping it. */
const char* api_version = "3.4";
/* Pretend to be at least 3.5, to check features published in that
version while developping it. */
const char* api_version = "3.5";
const char* package_version =
0 < strverscmp (api_version, PACKAGE_VERSION)
? api_version : PACKAGE_VERSION;