Commit ea3aad83 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Copy-paste of ELSE branch in decision fixed

parent d614520e
......@@ -2948,6 +2948,9 @@ def alternative_part(root, parent, context):
warnings = []
ans = ogAST.Answer()
coord = False
if root.type == lexer.ELSE:
# used when copy-pasting
ans.inputString = root.text
for child in root.getChildren():
if child.type == lexer.CIF:
# Get symbol coordinates
......
Supports Markdown
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