diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 2f269f47140f..0be6c7fe8168 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -604,7 +604,7 @@ class PyTypesVisitor(PickleVisitor): def visitModule(self, mod): self.emit(""" typedef struct { - PyObject_HEAD; + PyObject_HEAD PyObject *dict; } AST_object; diff --git a/Python/Python-ast.c b/Python/Python-ast.c index cf73beaa1588..1178d74d7f9d 100644 --- a/Python/Python-ast.c +++ b/Python/Python-ast.c @@ -456,7 +456,7 @@ static char *withitem_fields[]={ typedef struct { - PyObject_HEAD; + PyObject_HEAD PyObject *dict; } AST_object;