Skip to content

Commit

Permalink
Fix answer message parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Larhard committed May 16, 2019
1 parent ad72147 commit 964e12a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autoload/coqtop.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ def get_answer():
shouldWait = False
valueNode = c
if c.tag == 'message':
messageNode = c[1]
for m in c:
if m.tag not in ("message_level", "option"):
messageNode = m
if shouldWait:
continue
else:
Expand Down

0 comments on commit 964e12a

Please sign in to comment.