Skip to content

Commit 45e50de

Browse files
committed
Try to fix compilation of Python-ast.c on Visual Studio 2008
1 parent cc50ba2 commit 45e50de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Parser/asdl_c.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ class PyTypesVisitor(PickleVisitor):
604604
def visitModule(self, mod):
605605
self.emit("""
606606
typedef struct {
607-
PyObject_HEAD;
607+
PyObject_HEAD
608608
PyObject *dict;
609609
} AST_object;
610610

Python/Python-ast.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ static char *withitem_fields[]={
456456

457457

458458
typedef struct {
459-
PyObject_HEAD;
459+
PyObject_HEAD
460460
PyObject *dict;
461461
} AST_object;
462462

0 commit comments

Comments
 (0)