mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Call $(MKDIR_P) before regenerating the PEG meta-parser (GH-19861)
This commit is contained in:
parent
531d1e5412
commit
b7226eb0b7
1 changed files with 1 additions and 0 deletions
|
@ -823,6 +823,7 @@ regen-grammar: regen-token
|
|||
|
||||
.PHONY: regen-pegen-metaparser
|
||||
regen-pegen-metaparser:
|
||||
@$(MKDIR_P) $(srcdir)/Tools/peg_generator/pegen
|
||||
PYTHONPATH=$(srcdir)/Tools/peg_generator $(PYTHON_FOR_REGEN) -m pegen -q python \
|
||||
$(srcdir)/Tools/peg_generator/pegen/metagrammar.gram \
|
||||
-o $(srcdir)/Tools/peg_generator/pegen/grammar_parser.py.new
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue