mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 01:33:03 +00:00
bison: pretend to 3.6 already
* src/parse-gram.y: here.
This commit is contained in:
@@ -2946,9 +2946,9 @@ handle_require (location const *loc, char const *version)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pretend to be at least 3.5, to check features published in that
|
/* Pretend to be at least that version, to check features published
|
||||||
version while developping it. */
|
in that version while developping it. */
|
||||||
const char* api_version = "3.5";
|
const char* api_version = "3.6";
|
||||||
const char* package_version =
|
const char* package_version =
|
||||||
0 < strverscmp (api_version, PACKAGE_VERSION)
|
0 < strverscmp (api_version, PACKAGE_VERSION)
|
||||||
? api_version : PACKAGE_VERSION;
|
? api_version : PACKAGE_VERSION;
|
||||||
|
|||||||
@@ -1041,9 +1041,9 @@ handle_require (location const *loc, char const *version)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pretend to be at least 3.5, to check features published in that
|
/* Pretend to be at least that version, to check features published
|
||||||
version while developping it. */
|
in that version while developping it. */
|
||||||
const char* api_version = "3.5";
|
const char* api_version = "3.6";
|
||||||
const char* package_version =
|
const char* package_version =
|
||||||
0 < strverscmp (api_version, PACKAGE_VERSION)
|
0 < strverscmp (api_version, PACKAGE_VERSION)
|
||||||
? api_version : PACKAGE_VERSION;
|
? api_version : PACKAGE_VERSION;
|
||||||
|
|||||||
Reference in New Issue
Block a user