summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneonene <53406459+neonene@users.noreply.github.com>2024-04-26 16:20:30 (GMT)
committerGitHub <noreply@github.com>2024-04-26 16:20:30 (GMT)
commit63add11704078390909a485b57a7de6a0358fc2b (patch)
treed1f2d5499105af4097e91e8ba4a71e79245c391f
parent0f998613324bcb6fa1cd9a3a2fc7e46f67358df7 (diff)
downloadcpython-63add11704078390909a485b57a7de6a0358fc2b.zip
cpython-63add11704078390909a485b57a7de6a0358fc2b.tar.gz
cpython-63add11704078390909a485b57a7de6a0358fc2b.tar.bz2
gh-117680: Fix msvc warning in instruction_sequence.c (#118326)
-rw-r--r--Python/instruction_sequence.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/instruction_sequence.c b/Python/instruction_sequence.c
index 3a254b2..a3f85f7 100644
--- a/Python/instruction_sequence.c
+++ b/Python/instruction_sequence.c
@@ -20,6 +20,8 @@ typedef _Py_SourceLocation location;
#define INITIAL_INSTR_SEQUENCE_SIZE 100
#define INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE 10
+#include "clinic/instruction_sequence.c.h"
+
#undef SUCCESS
#undef ERROR
#define SUCCESS 0
@@ -172,8 +174,6 @@ class InstructionSequenceType "_PyInstructionSequence *" "&_PyInstructionSequenc
[clinic start generated code]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=589963e07480390f]*/
-#include "clinic/instruction_sequence.c.h"
-
static _PyInstructionSequence*
inst_seq_create(void)
{