From: Chris Eibl <138194463+chris-eibl@users.noreply.github.com> Date: Tue, 15 Apr 2025 16:01:42 +0000 (+0200) Subject: GH-131296: fix clang-cl warning on Windows in pegen.h (#131584) X-Git-Tag: v3.14.0b1~470 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e94d168473aac57dea7cc9aaad6d015ecf479511;p=thirdparty%2FPython%2Fcpython.git GH-131296: fix clang-cl warning on Windows in pegen.h (#131584) --- diff --git a/Parser/pegen.h b/Parser/pegen.h index 651659ac6c92..37d6ea988d2a 100644 --- a/Parser/pegen.h +++ b/Parser/pegen.h @@ -170,7 +170,7 @@ void *_PyPegen_raise_error_known_location(Parser *p, PyObject *errtype, void _Pypegen_set_syntax_error(Parser* p, Token* last_token); void _Pypegen_stack_overflow(Parser *p); -Py_LOCAL_INLINE(void *) +static inline void * RAISE_ERROR_KNOWN_LOCATION(Parser *p, PyObject *errtype, Py_ssize_t lineno, Py_ssize_t col_offset, Py_ssize_t end_lineno, Py_ssize_t end_col_offset,