https://github.com/python/cpython/commit/e94d168473aac57dea7cc9aaad6d015ecf479511
commit: e94d168473aac57dea7cc9aaad6d015ecf479511
branch: main
author: Chris Eibl <[email protected]>
committer: pablogsal <[email protected]>
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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]