aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-04-28 13:11:55 +0100
committerGitHub <noreply@github.com>2020-04-28 13:11:55 +0100
commit5b9f4988c94f47fa35e84f154a7b5aa17bc04722 (patch)
treeadc58da05cedc0590309324a46c3f84171d4ccf0 /PCbuild
parentbpo-40334: Don't skip test_parser:test_trigget_memory_error (GH-19744) (diff)
downloadcpython-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.vcxproj2
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="&quot;$PYTHONPATH=$(srcdir)/Tools/peg_generator&quot; &quot;$(PythonExe)&quot; -m pegen -c -q &quot;$(PySourcePath)Grammar\python.gram&quot; -o &quot;$(IntDir)parse.c&quot;" />
+ <Exec Command="&quot;$PYTHONPATH=$(srcdir)/Tools/peg_generator&quot; &quot;$(PythonExe)&quot; -m pegen -q c &quot;$(PySourcePath)Grammar\python.gram&quot; &quot;$(PySourcePath)Grammar\Tokens&quot; -o &quot;$(IntDir)parse.c&quot;" />
<Copy SourceFiles="$(IntDir)parse.c" DestinationFiles="$(PySourcePath)Parser\pegen\parse.c">
<Output TaskParameter="CopiedFiles" ItemName="_UpdatedParse" />
</Copy>