We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43a2a49 commit c094d8eCopy full SHA for c094d8e
parser.mk
@@ -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
+
5
RE2C_FLAGS=
-RE2C_VERSION=$(shell $(RE2C) --vernum 2>/dev/null)
6
+RE2C_VERSION=$(shell re2c --vernum 2>/dev/null)
7
ifeq ($(shell test "$(RE2C_VERSION)" -gt "9999"; echo $$?),0)
8
RE2C_FLAGS=-W
9
endif
0 commit comments