From c0c479c302b10e7c63139c5b76f24d48d072d818 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Mon, 14 Aug 2017 15:13:39 -0400 Subject: [PATCH] Unparenthesize a thing. --- src/Language/Python/Syntax.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Language/Python/Syntax.hs b/src/Language/Python/Syntax.hs index 8c2fe61c8..dd335bea8 100644 --- a/src/Language/Python/Syntax.hs +++ b/src/Language/Python/Syntax.hs @@ -283,7 +283,7 @@ comparisonOperator = symbol ComparisonOperator >>= \ loc -> children (expression <|> makeTerm loc <$ symbol AnonNot <*> (Expression.Not <$> (makeTerm <$> location <*> (Expression.Member lexpression <$> expressions))) <|> makeTerm loc <$ symbol AnonIn <*> (Expression.Member lexpression <$> expressions) <|> token AnonIs *> (symbol AnonNot *> (makeTerm loc <$> Expression.Not <$> (makeTerm <$> location <*> (Expression.Equal lexpression <$> expressions))) - <|> (makeTerm loc <$> Expression.Equal lexpression <$> expressions)) + <|> makeTerm loc <$> Expression.Equal lexpression <$> expressions) notOperator :: Assignment notOperator = makeTerm <$> symbol NotOperator <*> children (Expression.Not <$> expression)