|
50 | 50 | DependsOnTargets="FindPythonForBuild"> |
51 | 51 | <Message Text="Regenerate @(_PegenOutputs->'%(Filename)%(Extension)',' ')" Importance="high" /> |
52 | 52 | <!-- 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 "./Grammar/python.gram" "Grammar\Tokens" -o "Parser\parser.c"" |
| 53 | + <Exec Command="set PYTHONPATH=Tools\peg_generator%0D%0A$(PythonForBuild) -m pegen -q c ./Grammar/python.gram Grammar\Tokens -o Parser\parser.c" |
54 | 54 | WorkingDirectory="$(PySourcePath)" /> |
55 | 55 | </Target> |
56 | 56 |
|
57 | 57 | <Target Name="_RegenAST_H" |
58 | 58 | Inputs="@(_ASTSources)" Outputs="@(_ASTOutputs)" |
59 | 59 | DependsOnTargets="FindPythonForBuild"> |
60 | 60 | <Message Text="Regenerate @(_ASTOutputs->'%(Filename)%(Extension)',' ')" Importance="high" /> |
61 | | - <Exec Command="$(PythonForBuild) "Parser\asdl_c.py" "Parser\Python.asdl" @(_ASTOutputs->'%(Argument) "%(Identity)"',' ')" |
| 61 | + <Exec Command="$(PythonForBuild) Parser\asdl_c.py Parser\Python.asdl @(_ASTOutputs->'%(Argument) "%(Identity)"',' ')" |
62 | 62 | WorkingDirectory="$(PySourcePath)" /> |
63 | 63 | </Target> |
64 | 64 |
|
65 | 65 | <Target Name="_RegenTokens" |
66 | 66 | Inputs="@(_TokenSources)" Outputs="@(_TokenOutputs)" |
67 | 67 | DependsOnTargets="FindPythonForBuild"> |
68 | 68 | <Message Text="Regenerate @(_TokenOutputs->'%(Filename)%(Extension)',' ')" Importance="high" /> |
69 | | - <Exec Command="$(PythonForBuild) "Tools\build\generate_token.py" %(_TokenOutputs.Format) "Grammar\Tokens" "%(_TokenOutputs.Identity)"" |
| 69 | + <Exec Command="$(PythonForBuild) Tools\build\generate_token.py %(_TokenOutputs.Format) Grammar\Tokens "%(_TokenOutputs.Identity)"" |
70 | 70 | WorkingDirectory="$(PySourcePath)" /> |
71 | 71 | <Touch Files="@(_TokenOutputs)" /> |
72 | 72 | </Target> |
|
82 | 82 | <Target Name="_RegenGlobalObjects" |
83 | 83 | DependsOnTargets="FindPythonForBuild"> |
84 | 84 | <Message Text="Regenerate Global Objects" Importance="high" /> |
85 | | - <Exec Command="$(PythonForBuild) "Tools\build\generate_global_objects.py"" |
| 85 | + <Exec Command="$(PythonForBuild) Tools\build\generate_global_objects.py" |
86 | 86 | WorkingDirectory="$(PySourcePath)" /> |
87 | 87 | </Target> |
88 | 88 |
|
|
0 commit comments