From 1d5479b236e9a66dd32a24eff6fb83e3242b999d Mon Sep 17 00:00:00 2001 From: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Date: Tue, 2 Apr 2024 11:34:49 +0100 Subject: gh-117411: move PyFutureFeatures to pycore_symtable.h and make it private (#117412) --- Python/assemble.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Python/assemble.c') 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; -- cgit v1.2.3