Skip to content

Commit 27e0f3e

Browse files
committed
Apply suggestions from code review
1 parent 4cdb831 commit 27e0f3e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

PCbuild/regen.targets

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,23 @@
5050
DependsOnTargets="FindPythonForBuild">
5151
<Message Text="Regenerate @(_PegenOutputs->'%(Filename)%(Extension)',' ')" Importance="high" />
5252
<!-- Specify python.gram with POSIX-like path because the argument gets written into the file verbatim -->
53-
<Exec Command="set PYTHONPATH=Tools\peg_generator%0D%0A$(PythonForBuild) -m pegen -q c &quot;./Grammar/python.gram&quot; &quot;Grammar\Tokens&quot; -o &quot;Parser\parser.c&quot;"
53+
<Exec Command="set PYTHONPATH=Tools\peg_generator%0D%0A$(PythonForBuild) -m pegen -q c ./Grammar/python.gram Grammar\Tokens -o Parser\parser.c"
5454
WorkingDirectory="$(PySourcePath)" />
5555
</Target>
5656

5757
<Target Name="_RegenAST_H"
5858
Inputs="@(_ASTSources)" Outputs="@(_ASTOutputs)"
5959
DependsOnTargets="FindPythonForBuild">
6060
<Message Text="Regenerate @(_ASTOutputs->'%(Filename)%(Extension)',' ')" Importance="high" />
61-
<Exec Command="$(PythonForBuild) &quot;Parser\asdl_c.py&quot; &quot;Parser\Python.asdl&quot; @(_ASTOutputs->'%(Argument) &quot;%(Identity)&quot;',' ')"
61+
<Exec Command="$(PythonForBuild) Parser\asdl_c.py Parser\Python.asdl @(_ASTOutputs->'%(Argument) &quot;%(Identity)&quot;',' ')"
6262
WorkingDirectory="$(PySourcePath)" />
6363
</Target>
6464

6565
<Target Name="_RegenTokens"
6666
Inputs="@(_TokenSources)" Outputs="@(_TokenOutputs)"
6767
DependsOnTargets="FindPythonForBuild">
6868
<Message Text="Regenerate @(_TokenOutputs->'%(Filename)%(Extension)',' ')" Importance="high" />
69-
<Exec Command="$(PythonForBuild) &quot;Tools\build\generate_token.py&quot; %(_TokenOutputs.Format) &quot;Grammar\Tokens&quot; &quot;%(_TokenOutputs.Identity)&quot;"
69+
<Exec Command="$(PythonForBuild) Tools\build\generate_token.py %(_TokenOutputs.Format) Grammar\Tokens &quot;%(_TokenOutputs.Identity)&quot;"
7070
WorkingDirectory="$(PySourcePath)" />
7171
<Touch Files="@(_TokenOutputs)" />
7272
</Target>
@@ -82,7 +82,7 @@
8282
<Target Name="_RegenGlobalObjects"
8383
DependsOnTargets="FindPythonForBuild">
8484
<Message Text="Regenerate Global Objects" Importance="high" />
85-
<Exec Command="$(PythonForBuild) &quot;Tools\build\generate_global_objects.py&quot;"
85+
<Exec Command="$(PythonForBuild) Tools\build\generate_global_objects.py"
8686
WorkingDirectory="$(PySourcePath)" />
8787
</Target>
8888

0 commit comments

Comments
 (0)