(original) (raw)

On Fri, Nov 19, 2010 at 20:01, benjamin.peterson <python-checkins@python.org> wrote:
Author: benjamin.peterson
Date: Sat Nov 20 03:01:45 2010
New Revision: 86540

Log:
c89 declarations

Modified:
� python/branches/py3k/Parser/asdl\_c.py
� python/branches/py3k/Python/Python-ast.c

Modified: python/branches/py3k/Parser/asdl\_c.py
\==============================================================================
\--- python/branches/py3k/Parser/asdl\_c.py � � � (original)
+++ python/branches/py3k/Parser/asdl\_c.py � � � Sat Nov 20 03:01:45 2010
@@ -366,9 +366,9 @@
� � � � self.emit("obj2ast\_%s(PyObject\* obj, %s\* out, PyArena\* arena)" % (name, ctype), 0)
� � � � self.emit("{", 0)
� � � � self.emit("PyObject\* tmp = NULL;", 1)
\+ � � � �self.emit("int isinstance;", 1)
� � � � # Prevent compiler warnings about unused variable.
� � � � self.emit("tmp = tmp;", 1)
\- � � � �self.emit("int isinstance;", 1)
� � � � self.emit("", 0)

� � def sumTrailer(self, name, add\_label=False):

Modified: python/branches/py3k/Python/Python-ast.c
\==============================================================================
\--- python/branches/py3k/Python/Python-ast.c � �(original)
+++ python/branches/py3k/Python/Python-ast.c � �Sat Nov 20 03:01:45 2010
@@ -3375,8 +3375,8 @@
�obj2ast\_mod(PyObject\* obj, mod\_ty\* out, PyArena\* arena)
�{
� � � � PyObject\* tmp = NULL;
\- � � � �tmp = tmp;
� � � � int isinstance;
\+ � � � �tmp = tmp;

Windows builds fail due to this change.