Skip to content

Commit e94d168

Browse files
authored
GH-131296: fix clang-cl warning on Windows in pegen.h (#131584)
1 parent 2ff5eb8 commit e94d168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parser/pegen.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ void *_PyPegen_raise_error_known_location(Parser *p, PyObject *errtype,
170170
void _Pypegen_set_syntax_error(Parser* p, Token* last_token);
171171
void _Pypegen_stack_overflow(Parser *p);
172172

173-
Py_LOCAL_INLINE(void *)
173+
static inline void *
174174
RAISE_ERROR_KNOWN_LOCATION(Parser *p, PyObject *errtype,
175175
Py_ssize_t lineno, Py_ssize_t col_offset,
176176
Py_ssize_t end_lineno, Py_ssize_t end_col_offset,

0 commit comments

Comments
 (0)