Fix true/false naming on unless_expression
This commit is contained in:
parent
04a899247e
commit
53e945fbe5
|
@ -289,8 +289,8 @@ def p_unless_expression(p):
|
|||
'unless_expression : DO expression UNLESS expression OTHERWISE expression DONE'
|
||||
p[0] = ASTnode('unless_expression', p.lineno(1))
|
||||
p[0].child_condition = p[4]
|
||||
p[0].child_expression_true = p[2]
|
||||
p[0].child_expression_false = p[6]
|
||||
p[0].child_expression_true = p[6]
|
||||
p[0].child_expression_false = p[2]
|
||||
|
||||
def p_error(p):
|
||||
if p is not None:
|
||||
|
|
Loading…
Reference in New Issue