[Python-checkins] cpython: Try to fix compilation of Python-ast.c on Visual Studio 2008

victor.stinner python-checkins at python.org
Tue Mar 13 01:17:17 CET 2012


http://hg.python.org/cpython/rev/6bee4eea1efa
changeset:   75567:6bee4eea1efa
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Mar 13 01:17:31 2012 +0100
summary:
  Try to fix compilation of Python-ast.c on Visual Studio 2008

files:
  Parser/asdl_c.py    |  2 +-
  Python/Python-ast.c |  2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py
--- a/Parser/asdl_c.py
+++ b/Parser/asdl_c.py
@@ -604,7 +604,7 @@
     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
--- a/Python/Python-ast.c
+++ b/Python/Python-ast.c
@@ -456,7 +456,7 @@
 
 
 typedef struct {
-    PyObject_HEAD;
+    PyObject_HEAD
     PyObject *dict;
 } AST_object;
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list