Commit ccff9bad authored by gsamain's avatar gsamain Committed by Xavier Thompson

Update error message on declare_autolocked

parent 9b766a0c
......@@ -1890,7 +1890,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