Avoid an empty line when there are no possibilities to print.

parent ffb9e906
......@@ -219,6 +219,7 @@ class Parser(BisonParser):
print pick_suggestion(self.last_possibilities)
def display_possibilities(self):
if self.last_possibilities:
print '\n'.join(map(str, self.last_possibilities))
def rewrite(self):
......
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