projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cad5ced
)
fix name mangling in generator expressions
author
Stefan Behnel
<scoder@users.berlios.de>
Tue, 8 Mar 2011 05:57:49 +0000
(06:57 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Tue, 8 Mar 2011 05:57:49 +0000
(06:57 +0100)
Cython/Compiler/Symtab.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Symtab.py
b/Cython/Compiler/Symtab.py
index 0d0e5760228967750c5521b327d28b5d00c83b89..17fc975864bcce199c40cccef12d9c1814eb6282 100644
(file)
--- a/
Cython/Compiler/Symtab.py
+++ b/
Cython/Compiler/Symtab.py
@@
-1351,7
+1351,7
@@
class GeneratorExpressionScope(Scope):
self.genexp_prefix = "%s%d%s" % (Naming.pyrex_prefix, len(name), name)
def mangle(self, prefix, name):
- return '%s%s' % (self.genexp_prefix, self.parent_scope.mangle(
self,
prefix, name))
+ return '%s%s' % (self.genexp_prefix, self.parent_scope.mangle(prefix, name))
def declare_var(self, name, type, pos,
cname = None, visibility = 'private', is_cdef = True):