Skip to content
Snippets Groups Projects
Commit 30c29dd5 authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

Updated comment

parent 4b2db8c0
No related branches found
No related tags found
No related merge requests found
......@@ -328,7 +328,8 @@ class ExpressionNode(Node, ExpressionBase):
#if self.op == OP_LOG and self[1].value in (E, DEFAULT_LOGARITHM_BASE):
# return 1
# Functions always have parentheses
# Functions always have parentheses, so return a number higher than 1
# to prevent graph_drawing from treating them as unary operators
if self.op in TOKEN_MAP and TOKEN_MAP[self.op] == 'FUNCTION':
return 2
......
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