summaryrefslogtreecommitdiffstats
path: root/Tools/peg_generator/Makefile
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-04-29 09:42:21 (GMT)
committerGitHub <noreply@github.com>2020-04-29 09:42:21 (GMT)
commit4db245ee9ddbe6c53d375de59a35ff59dea2a8e0 (patch)
tree2a70d3590bb1c1f68ddfe681328061a3aa48c69f /Tools/peg_generator/Makefile
parent9b64ef3ac7b434065dbff0048b9103999e4b491a (diff)
downloadcpython-4db245ee9ddbe6c53d375de59a35ff59dea2a8e0.zip
cpython-4db245ee9ddbe6c53d375de59a35ff59dea2a8e0.tar.gz
cpython-4db245ee9ddbe6c53d375de59a35ff59dea2a8e0.tar.bz2
bpo-40334: refactor and cleanup for the PEG generators (GH-19775)
Diffstat (limited to 'Tools/peg_generator/Makefile')
-rw-r--r--Tools/peg_generator/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/peg_generator/Makefile b/Tools/peg_generator/Makefile
index a37cbfc..c1219b9 100644
--- a/Tools/peg_generator/Makefile
+++ b/Tools/peg_generator/Makefile
@@ -33,7 +33,7 @@ dump: peg_extension/parse.c
$(PYTHON) -c "from peg_extension import parse; import ast; t = parse.parse_file('$(TESTFILE)', mode=1); print(ast.dump(t))"
regen-metaparser: pegen/metagrammar.gram pegen/*.py
- $(PYTHON) -m pegen -q -c pegen/metagrammar.gram -o pegen/grammar_parser.py
+ $(PYTHON) -m pegen -q python pegen/metagrammar.gram -o pegen/grammar_parser.py
# Note: These targets really depend on the generated shared object in peg_extension/parse.*.so but
# this has different names in different systems so we are abusing the implicit dependency on