diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2020-04-28 13:11:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 13:11:55 +0100 |
commit | 5b9f4988c94f47fa35e84f154a7b5aa17bc04722 (patch) | |
tree | adc58da05cedc0590309324a46c3f84171d4ccf0 /PCbuild | |
parent | bpo-40334: Don't skip test_parser:test_trigget_memory_error (GH-19744) (diff) | |
download | cpython-5b9f4988c94f47fa35e84f154a7b5aa17bc04722.tar.gz cpython-5b9f4988c94f47fa35e84f154a7b5aa17bc04722.tar.bz2 cpython-5b9f4988c94f47fa35e84f154a7b5aa17bc04722.zip |
bpo-40334: Refactor peg_generator to receive a Tokens file when building c code (GH-19745)
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/regen.vcxproj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/regen.vcxproj b/PCbuild/regen.vcxproj index 9fe8d6d0c3e..285a8a1b9e4 100644 --- a/PCbuild/regen.vcxproj +++ b/PCbuild/regen.vcxproj @@ -168,7 +168,7 @@ </Target> <Target Name="_RegenPegen" BeforeTargets="Build"> <!-- Regenerate Parser/pegen/parse.c --> - <Exec Command=""$PYTHONPATH=$(srcdir)/Tools/peg_generator" "$(PythonExe)" -m pegen -c -q "$(PySourcePath)Grammar\python.gram" -o "$(IntDir)parse.c"" /> + <Exec Command=""$PYTHONPATH=$(srcdir)/Tools/peg_generator" "$(PythonExe)" -m pegen -q c "$(PySourcePath)Grammar\python.gram" "$(PySourcePath)Grammar\Tokens" -o "$(IntDir)parse.c"" /> <Copy SourceFiles="$(IntDir)parse.c" DestinationFiles="$(PySourcePath)Parser\pegen\parse.c"> <Output TaskParameter="CopiedFiles" ItemName="_UpdatedParse" /> </Copy> |