https://github.com/python/cpython/commit/e94d168473aac57dea7cc9aaad6d015ecf479511
commit: e94d168473aac57dea7cc9aaad6d015ecf479511
branch: main
author: Chris Eibl <138194463+chris-e...@users.noreply.github.com>
committer: pablogsal <pablog...@gmail.com>
date: 2025-04-15T17:01:42+01:00
summary:

GH-131296: fix clang-cl warning on Windows in pegen.h (#131584)

files:
M Parser/pegen.h

diff --git a/Parser/pegen.h b/Parser/pegen.h
index 651659ac6c926b..37d6ea988d2af4 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,

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to