aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/assemble.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/assemble.c')
-rw-r--r--Python/assemble.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/assemble.c b/Python/assemble.c
index 09db2fab48d..be3d9c1a746 100644
--- a/Python/assemble.c
+++ b/Python/assemble.c
@@ -5,6 +5,7 @@
#include "pycore_compile.h"
#include "pycore_opcode_utils.h" // IS_BACKWARDS_JUMP_OPCODE
#include "pycore_opcode_metadata.h" // is_pseudo_target, _PyOpcode_Caches
+#include "pycore_symtable.h" // _Py_SourceLocation
#define DEFAULT_CODE_SIZE 128
@@ -21,7 +22,7 @@
return ERROR; \
}
-typedef _PyCompilerSrcLocation location;
+typedef _Py_SourceLocation location;
typedef _PyCompile_Instruction instruction;
typedef _PyCompile_InstructionSequence instr_sequence;