Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
ea3aad83
Commit
ea3aad83
authored
Aug 11, 2014
by
Maxime Perrotin
Browse files
Copy-paste of ELSE branch in decision fixed
parent
d614520e
Changes
1
Show whitespace changes
Inline
Side-by-side
ogParser.py
View file @
ea3aad83
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment