Skip to content

Commit a2a00f1

Browse files
committed
Fix variable clash in pegparser Makefile
1 parent 43030dd commit a2a00f1

File tree

1 file changed

+4
-4
lines changed
  • graalpython/com.oracle.graal.python.pegparser.generator

1 file changed

+4
-4
lines changed

graalpython/com.oracle.graal.python.pegparser.generator/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ QUIETLY$(MX_VERBOSE) = @
22

33
PARSER_PATH ?= ../com.oracle.graal.python.pegparser/src/com/oracle/graal/python/pegparser
44
ifdef MX_PYTHON
5-
PYTHON ?= ${MX_PYTHON}
5+
PYTHON_EXE ?= ${MX_PYTHON}
66
else ifdef MX_PYTHON_VERSION
7-
PYTHON ?= python${MX_PYTHON_VERSION}
7+
PYTHON_EXE ?= python${MX_PYTHON_VERSION}
88
else
9-
PYTHON ?= python3
9+
PYTHON_EXE ?= python3
1010
endif
1111

1212
TARGET=${PARSER_PATH}/Parser.java
@@ -22,7 +22,7 @@ STAMP=${GRAMMAR}.stamp
2222
default: ${STAMP}
2323

2424
${STAMP}: ${GRAMMAR} ${TOKENS} ${PEGEN_FILES} main_parser_gen.py
25-
$(QUIETLY) ${PYTHON} main_parser_gen.py ${GRAMMAR} ${TOKENS} ${TARGET}
25+
$(QUIETLY) ${PYTHON_EXE} main_parser_gen.py ${GRAMMAR} ${TOKENS} ${TARGET}
2626
$(QUIETLY) touch $@
2727

2828
clean:

0 commit comments

Comments
 (0)