Skip to content

Commit d316147

Browse files
committed
Move Include/symtable.h to Include/cpython/symtable.h
1 parent 58d1ad6 commit d316147

File tree

11 files changed

+6
-11
lines changed

11 files changed

+6
-11
lines changed

Include/Python.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,5 +162,6 @@
162162
#include "cpython/pyfpe.h"
163163
#include "tracemalloc.h"
164164
#include "cpython/asdl.h"
165+
#include "cpython/symtable.h"
165166

166167
#endif /* !Py_PYTHON_H */
File renamed without changes.

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,6 @@ PYTHON_HEADERS= \
10801080
$(srcdir)/Include/sliceobject.h \
10811081
$(srcdir)/Include/structmember.h \
10821082
$(srcdir)/Include/structseq.h \
1083-
$(srcdir)/Include/symtable.h \
10841083
$(srcdir)/Include/sysmodule.h \
10851084
$(srcdir)/Include/token.h \
10861085
$(srcdir)/Include/traceback.h \
@@ -1124,6 +1123,7 @@ PYTHON_HEADERS= \
11241123
$(srcdir)/Include/cpython/pystrhex.h \
11251124
$(srcdir)/Include/cpython/pythonrun.h \
11261125
$(srcdir)/Include/cpython/pytime.h \
1126+
$(srcdir)/Include/cpython/symtable.h \
11271127
$(srcdir)/Include/cpython/sysmodule.h \
11281128
$(srcdir)/Include/cpython/traceback.h \
11291129
$(srcdir)/Include/cpython/tupleobject.h \

Modules/symtablemodule.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#include "code.h"
44
#include "Python-ast.h"
5-
#include "symtable.h"
65

76
#include "clinic/symtablemodule.c.h"
87
/*[clinic input]

PCbuild/pythoncore.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
<ClInclude Include="..\Include\cpython\pystrhex.h" />
157157
<ClInclude Include="..\Include\cpython\pythonrun.h" />
158158
<ClInclude Include="..\Include\cpython\pytime.h" />
159+
<ClInclude Include="..\Include\cpython\symtable.h" />
159160
<ClInclude Include="..\Include\cpython\sysmodule.h" />
160161
<ClInclude Include="..\Include\cpython\traceback.h" />
161162
<ClInclude Include="..\Include\cpython\tupleobject.h" />
@@ -251,7 +252,6 @@
251252
<ClInclude Include="..\Include\sliceobject.h" />
252253
<ClInclude Include="..\Include\structmember.h" />
253254
<ClInclude Include="..\Include\structseq.h" />
254-
<ClInclude Include="..\Include\symtable.h" />
255255
<ClInclude Include="..\Include\sysmodule.h" />
256256
<ClInclude Include="..\Include\token.h" />
257257
<ClInclude Include="..\Include\traceback.h" />

PCbuild/pythoncore.vcxproj.filters

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,6 @@
231231
<ClInclude Include="..\Include\structseq.h">
232232
<Filter>Include</Filter>
233233
</ClInclude>
234-
<ClInclude Include="..\Include\symtable.h">
235-
<Filter>Include</Filter>
236-
</ClInclude>
237234
<ClInclude Include="..\Include\sysmodule.h">
238235
<Filter>Include</Filter>
239236
</ClInclude>
@@ -468,6 +465,9 @@
468465
<ClInclude Include="..\Include\cpython\pythonrun.h">
469466
<Filter>Include\cpython</Filter>
470467
</ClInclude>
468+
<ClInclude Include="..\Include\cpython\symtable.h">
469+
<Filter>Include</Filter>
470+
</ClInclude>
471471
<ClInclude Include="..\Include\cpython\sysmodule.h">
472472
<Filter>Include\cpython</Filter>
473473
</ClInclude>

Python/compile.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include "Python-ast.h"
2929
#include "ast.h"
3030
#include "code.h"
31-
#include "symtable.h"
3231
#define NEED_OPCODE_JUMP_TABLES
3332
#include "opcode.h"
3433
#include "wordcode_helpers.h"

Python/future.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#include "Python-ast.h"
33
#include "token.h"
44
#include "code.h"
5-
#include "symtable.h"
65
#include "ast.h"
76

87
#define UNDEFINED_FUTURE_FEATURE "future feature %.100s is not defined"

Python/pythonrun.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include "token.h" // INDENT
2424
#include "errcode.h" // E_EOF
2525
#include "code.h" // PyCodeObject
26-
#include "symtable.h" // PySymtable_BuildObject()
2726
#include "marshal.h" // PyMarshal_ReadLongFromFile()
2827

2928
#ifdef MS_WINDOWS

Python/symtable.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include "Python.h"
22
#include "pycore_pystate.h" // _PyThreadState_GET()
3-
#include "symtable.h"
43
#undef Yield /* undefine macro conflicting with <winbase.h> */
54
#include "structmember.h" // PyMemberDef
65

0 commit comments

Comments
 (0)