diff options
author | Sebastian Grabowski <sebastian@grabel.de> | 2022-10-11 07:43:14 (GMT) |
---|---|---|
committer | Sebastian Grabowski <sebastian@grabel.de> | 2022-10-11 07:57:38 (GMT) |
commit | 6201d8d3738948785452d8f242336e7d06f71f2e (patch) | |
tree | 466a6baa0fe39c5fc9bc917f903122b7b55c0453 | |
parent | 3a6a4ed84bf4a310e5aa032d77844bfa6744c4cb (diff) | |
download | Ninja-6201d8d3738948785452d8f242336e7d06f71f2e.zip Ninja-6201d8d3738948785452d8f242336e7d06f71f2e.tar.gz Ninja-6201d8d3738948785452d8f242336e7d06f71f2e.tar.bz2 |
Increase required version of re2c to 0.15.3
The `--no-version` command line argument was introduced with re2c
v0.15.3.
See https://re2c.org/releases/changelog/changelog.html
-rwxr-xr-x | configure.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py index 28ff855..7a5e2d3 100755 --- a/configure.py +++ b/configure.py @@ -478,7 +478,7 @@ n.comment('the depfile parser and ninja lexers are generated using re2c.') def has_re2c(): try: proc = subprocess.Popen(['re2c', '-V'], stdout=subprocess.PIPE) - return int(proc.communicate()[0], 10) >= 1103 + return int(proc.communicate()[0], 10) >= 1503 except OSError: return False if has_re2c(): @@ -489,7 +489,7 @@ if has_re2c(): n.build(src('depfile_parser.cc'), 're2c', src('depfile_parser.in.cc')) n.build(src('lexer.cc'), 're2c', src('lexer.in.cc')) else: - print("warning: A compatible version of re2c (>= 0.11.3) was not found; " + print("warning: A compatible version of re2c (>= 0.15.3) was not found; " "changes to src/*.in.cc will not affect your build.") n.newline() |