Skip to content

Commit

Permalink
Increase required version of re2c to 0.15.3
Browse files Browse the repository at this point in the history
The `--no-version` command line argument was introduced with re2c
v0.15.3.
See https://re2c.org/releases/changelog/changelog.html
  • Loading branch information
picsel2 committed Oct 11, 2022
1 parent 3a6a4ed commit 6201d8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def shell_escape(str):
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():
Expand All @@ -489,7 +489,7 @@ def 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()

Expand Down

0 comments on commit 6201d8d

Please sign in to comment.