options.reverse() # Decorators coming first take precedence
for option in options:
name, value = option
- optdict[name] = value
+ if name in optdict:
+ # assuming it's a dict ...
+ optdict[name].update(value)
+ else:
+ optdict[name] = value
body = StatListNode(node.pos, stats=[node])
return self.visit_with_options(body, optdict)
else:
y = cython.address(x)
return y[0]
-@cython.locals(x=cython.int, y=cython.bint)
+@cython.locals(x=cython.int)
+@cython.locals(y=cython.bint)
def test_locals(x):
y = x
return y