diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-11-20 02:04:14 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-11-20 02:04:14 (GMT) |
commit | e82c169622ed56183cd3837f398a0029d2a403f9 (patch) | |
tree | 3dd766a5897cf0038fa323a42005e52bd17d0069 /Parser | |
parent | aab9585130d1143f2b734ba67d0676fd874040d8 (diff) | |
download | cpython-e82c169622ed56183cd3837f398a0029d2a403f9.zip cpython-e82c169622ed56183cd3837f398a0029d2a403f9.tar.gz cpython-e82c169622ed56183cd3837f398a0029d2a403f9.tar.bz2 |
Merged revisions 86540 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86540 | benjamin.peterson | 2010-11-19 20:01:45 -0600 (Fri, 19 Nov 2010) | 1 line
c89 declarations
........
Diffstat (limited to 'Parser')
-rwxr-xr-x | Parser/asdl_c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 087f95a..5d896ef 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): |