Commit 4a907615 authored by gsamain's avatar gsamain

Update error message on declare_autolocked

parent da5df0d6
......@@ -1807,7 +1807,7 @@ class LocalScope(Scope):
def declare_autolocked(self, node):
# Add an entry for autolocked cypclass
if not (node.type.is_cyp_class and node.type.lock_mode == "autolock"):
error(pos, "Trying to autolock a non cypclass object !")
error(pos, "Trying to autolock a non (autolocked) cypclass object !")
self.autolocked_nodes.append(node)
def declare_var(self, name, type, pos,
......
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