|
137 | 137 | </None> |
138 | 138 | <None Include="..\Include\opcode.h"> |
139 | 139 | </None> |
140 | | - <None Include="..\Include\internal\pycore_ast.h"> |
| 140 | + <None Include="..\Include\internal\pycore_ast_state.h"> |
141 | 141 | </None> |
142 | 142 | <None Include="..\Include\Python-ast.h"> |
143 | 143 | </None> |
|
163 | 163 | <Warning Text="Pegen updated. You will need to rebuild pythoncore to see the changes." Condition="'@(_UpdatedParse)' != ''" /> |
164 | 164 | </Target> |
165 | 165 | <Target Name="_RegenAST_H" AfterTargets="_RegenGrammar"> |
166 | | - <!-- Regenerate Include/Python-ast.h, Python/Python-ast.c and Include/internal/pycore_ast.h using Parser/asdl_c.py -h --> |
167 | | - <Exec Command=""$(PythonExe)" "$(PySourcePath)Parser\asdl_c.py" "$(PySourcePath)Parser\Python.asdl" -H "$(IntDir)Python-ast.h" -C "$(IntDir)Python-ast.c" -I "$(IntDir)pycore_ast.h"" /> |
| 166 | + <!-- Regenerate Include/Python-ast.h, Python/Python-ast.c and Include/internal/pycore_ast_state.h using Parser/asdl_c.py -h --> |
| 167 | + <Exec Command=""$(PythonExe)" "$(PySourcePath)Parser\asdl_c.py" "$(PySourcePath)Parser\Python.asdl" -H "$(IntDir)Python-ast.h" -C "$(IntDir)Python-ast.c" -I "$(IntDir)pycore_ast_state.h"" /> |
168 | 168 | <Copy SourceFiles="$(IntDir)Python-ast.h" DestinationFiles="$(PySourcePath)Include\Python-ast.h"> |
169 | 169 | <Output TaskParameter="CopiedFiles" ItemName="_UpdatedH" /> |
170 | 170 | </Copy> |
171 | 171 | <Copy SourceFiles="$(IntDir)Python-ast.c" DestinationFiles="$(PySourcePath)Python\Python-ast.c"> |
172 | 172 | <Output TaskParameter="CopiedFiles" ItemName="_UpdatedC" /> |
173 | 173 | </Copy> |
174 | | - <Copy SourceFiles="$(IntDir)pycore_ast.h" DestinationFiles="$(PySourcePath)Include\internal\pycore_ast.h"> |
| 174 | + <Copy SourceFiles="$(IntDir)pycore_ast_state.h" DestinationFiles="$(PySourcePath)Include\internal\pycore_ast_state.h"> |
175 | 175 | <Output TaskParameter="CopiedFiles" ItemName="_UpdatedInternalH" /> |
176 | 176 | </Copy> |
177 | 177 | <Warning Text="ASDL is updated. You will need to rebuild pythoncore to see the changes." Condition="'@(_UpdatedH)' != '' != '' and '@(_UpdatedC)' != '' and @(_UpdatedInternalH)'" /> |
|
209 | 209 | <Clean Include="$(IntDir)opcode.h" /> |
210 | 210 | <Clean Include="$(IntDir)Python-ast.c" /> |
211 | 211 | <Clean Include="$(IntDir)Python-ast.h" /> |
212 | | - <Clean Include="$(IntDir)pycore_ast.h" /> |
| 212 | + <Clean Include="$(IntDir)pycore_ast_state.h" /> |
213 | 213 | </ItemGroup> |
214 | 214 | </Target> |
215 | 215 | </Project> |
0 commit comments