From 56cc1a93744ab85d49282fe333f94e50429e68e8 Mon Sep 17 00:00:00 2001 From: Fabian Noll Date: Fri, 31 May 2024 10:02:53 +0200 Subject: [PATCH] remove expression from unary operators --- src/Ast.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Ast.hs b/src/Ast.hs index 9fb1cea..750200c 100644 --- a/src/Ast.hs +++ b/src/Ast.hs @@ -50,10 +50,10 @@ data BinaryOperator data UnaryOperator = Not | Minus - | PostIncrement Expression - | PostDecrement Expression - | PreIncrement Expression - | PreDecrement Expression + | PostIncrement + | PostDecrement + | PreIncrement + | PreDecrement deriving (Show, Eq) data Expression