Commit 5e1952e8 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix completion lists in nested states

parent 24251ddc
......@@ -569,8 +569,8 @@ class ProcedureStop(Join):
ast, _, _, _, _ = self.parser.parseSingleElement(self.common_name,
pr_text)
try:
CONTEXT.state_exitpoints = set(CONTEXT.state_exitpoints
+ [unicode(self)])
CONTEXT.state_exitpoints = \
set(CONTEXT.state_exitpoints) | set(unicode(self))
except AttributeError:
# No state exit points in a procedure
pass
......
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