From 63add11704078390909a485b57a7de6a0358fc2b Mon Sep 17 00:00:00 2001 From: neonene <53406459+neonene@users.noreply.github.com> Date: Sat, 27 Apr 2024 01:20:30 +0900 Subject: [PATCH] gh-117680: Fix msvc warning in instruction_sequence.c (#118326) --- Python/instruction_sequence.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/instruction_sequence.c b/Python/instruction_sequence.c index 3a254b2c9de..a3f85f754d7 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) {