+
@@ -163,15 +163,15 @@
-
-
+
+
-
+
@@ -209,7 +209,7 @@
-
+
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py
index 8c167bc79c779b..e96f1f3504567c 100755
--- a/Parser/asdl_c.py
+++ b/Parser/asdl_c.py
@@ -1429,7 +1429,7 @@ def generate_module_def(mod, f, internal_h):
print(textwrap.dedent(f"""
#ifdef Py_BUILD_CORE
- # include "pycore_ast.h" // struct ast_state
+ # include "pycore_ast_state.h" // struct ast_state
# include "pycore_interp.h" // _PyInterpreterState.ast
# include "pycore_pystate.h" // _PyInterpreterState_GET()
#else
@@ -1522,8 +1522,8 @@ def write_header(mod, f):
def write_internal_h_header(mod, f):
print(textwrap.dedent("""
- #ifndef Py_INTERNAL_AST_H
- #define Py_INTERNAL_AST_H
+ #ifndef Py_INTERNAL_AST_STATE_H
+ #define Py_INTERNAL_AST_STATE_H
#ifdef __cplusplus
extern "C" {
#endif
@@ -1540,7 +1540,7 @@ def write_internal_h_footer(mod, f):
#ifdef __cplusplus
}
#endif
- #endif /* !Py_INTERNAL_AST_H */
+ #endif /* !Py_INTERNAL_AST_STATE_H */
"""), file=f)
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index 439da8f2512ef2..59acce7968407a 100644
--- a/Python/Python-ast.c
+++ b/Python/Python-ast.c
@@ -6,7 +6,7 @@
#include "Python.h"
#ifdef Py_BUILD_CORE
-# include "pycore_ast.h" // struct ast_state
+# include "pycore_ast_state.h" // struct ast_state
# include "pycore_interp.h" // _PyInterpreterState.ast
# include "pycore_pystate.h" // _PyInterpreterState_GET()
#else
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy