Skip to content
Snippets Groups Projects
Commit 262f3558 authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Added multiplication sign exception for left square bracket.

parent 775db0cb
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@ def generate_line(root):
r = e[1][0]
left_simple = is_id(left) or is_int(left)
if (r == '(' and left_simple) or (l == ')' and r != '-') \
if (r in ('(', ']') and left_simple) or (l == ')' and r != '-') \
or (left_simple and r.isalpha()):
sep = ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment