diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2020-04-28 12:11:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 12:11:55 (GMT) |
commit | 5b9f4988c94f47fa35e84f154a7b5aa17bc04722 (patch) | |
tree | adc58da05cedc0590309324a46c3f84171d4ccf0 /Makefile.pre.in | |
parent | 3d53d8756f0403eec6a4e12f183103d651bed6c5 (diff) | |
download | cpython-5b9f4988c94f47fa35e84f154a7b5aa17bc04722.zip cpython-5b9f4988c94f47fa35e84f154a7b5aa17bc04722.tar.gz cpython-5b9f4988c94f47fa35e84f154a7b5aa17bc04722.tar.bz2 |
bpo-40334: Refactor peg_generator to receive a Tokens file when building c code (GH-19745)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 18fa97b..200fd31 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -823,7 +823,9 @@ regen-grammar: regen-token .PHONY: regen-pegen regen-pegen: @$(MKDIR_P) $(srcdir)/Parser/pegen - PYTHONPATH=$(srcdir)/Tools/peg_generator $(PYTHON_FOR_REGEN) -m pegen -c -q $(srcdir)/Grammar/python.gram \ + PYTHONPATH=$(srcdir)/Tools/peg_generator $(PYTHON_FOR_REGEN) -m pegen -q c \ + $(srcdir)/Grammar/python.gram \ + $(srcdir)/Grammar/Tokens \ -o $(srcdir)/Parser/pegen/parse.new.c $(UPDATE_FILE) $(srcdir)/Parser/pegen/parse.c $(srcdir)/Parser/pegen/parse.new.c |