Commit f885af7b authored by Vitja Makarov's avatar Vitja Makarov

Order scope.buffer_vars by name

parent 4a009f36
...@@ -50,6 +50,7 @@ class IntroduceBufferAuxiliaryVars(CythonTransform): ...@@ -50,6 +50,7 @@ class IntroduceBufferAuxiliaryVars(CythonTransform):
in scope.entries.iteritems() in scope.entries.iteritems()
if entry.type.is_buffer] if entry.type.is_buffer]
if len(bufvars) > 0: if len(bufvars) > 0:
bufvars.sort(key=lambda entry: entry.name)
self.buffers_exists = True self.buffers_exists = True
memviewslicevars = [entry for name, entry memviewslicevars = [entry for name, entry
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment