Skip to content

Commit c094d8e

Browse files
committed
Fixed PHP 7.4 support
1 parent 43a2a49 commit c094d8e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

parser.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
ifeq (, $(shell which re2c))
2+
$(error "No re2c found in the $$PATH: $(PATH). Consider install re2c or/and add re2c executale to the $$PATH")
3+
endif
4+
15
RE2C_FLAGS=
2-
RE2C_VERSION=$(shell $(RE2C) --vernum 2>/dev/null)
6+
RE2C_VERSION=$(shell re2c --vernum 2>/dev/null)
37
ifeq ($(shell test "$(RE2C_VERSION)" -gt "9999"; echo $$?),0)
48
RE2C_FLAGS=-W
59
endif

0 commit comments

Comments
 (0)