summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-03-13 01:17:31 +0100
committerVictor Stinner <victor.stinner@gmail.com>2012-03-13 01:17:31 +0100
commit45e50de1f5eed5b2ee936e36dd297cd6a43c042d (patch)
tree5a11fee96175f12d556d140e41c0338388f3b525
parentcc50ba26bd186dd2f7e093be9f7b7bb18d08a35a (diff)
downloadcpython-git-45e50de1f5eed5b2ee936e36dd297cd6a43c042d.tar.gz
Try to fix compilation of Python-ast.c on Visual Studio 2008
-rwxr-xr-xParser/asdl_c.py2
-rw-r--r--Python/Python-ast.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py
index 2f269f4714..0be6c7fe81 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 cf73beaa15..1178d74d7f 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;