summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-11-20 02:01:45 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-11-20 02:01:45 (GMT)
commit0e9e98edc7924cf41e031c0a31e93870f31e3160 (patch)
tree4a23e7999532ab66e55d95b1ce8ce0a44619901d /Parser
parent5b066817e2e777c8eff7776335482b9d6efd115b (diff)
downloadcpython-0e9e98edc7924cf41e031c0a31e93870f31e3160.zip
cpython-0e9e98edc7924cf41e031c0a31e93870f31e3160.tar.gz
cpython-0e9e98edc7924cf41e031c0a31e93870f31e3160.tar.bz2
c89 declarations
Diffstat (limited to 'Parser')
-rwxr-xr-xParser/asdl_c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py
index 1fdc6bc..60b53e9 100755
--- a/Parser/asdl_c.py
+++ b/Parser/asdl_c.py
@@ -366,9 +366,9 @@ class Obj2ModVisitor(PickleVisitor):
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):