Skip to content

Commit e3ff648

Browse files
committed
adjust formatting
1 parent dd05188 commit e3ff648

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Language/Fortran/Analysis.hs

+7-7
Original file line numberDiff line numberDiff line change
@@ -108,21 +108,21 @@ analysis0 a = Analysis { prevAnnotation = a
108108

109109
-- | Obtain either uniqueName or source name from an ExpValue variable.
110110
varName :: Expression (Analysis a) -> String
111-
varName (ExpValue (Analysis { uniqueName = Just n }) _ (ValVariable {})) = n
112-
varName (ExpValue (Analysis { sourceName = Just n }) _ (ValVariable {})) = n
113-
varName (ExpValue _ _ (ValVariable n)) = n
111+
varName (ExpValue (Analysis { uniqueName = Just n }) _ (ValVariable {})) = n
112+
varName (ExpValue (Analysis { sourceName = Just n }) _ (ValVariable {})) = n
113+
varName (ExpValue _ _ (ValVariable n)) = n
114114
varName (ExpValue (Analysis { uniqueName = Just n }) _ (ValIntrinsic {})) = n
115115
varName (ExpValue (Analysis { sourceName = Just n }) _ (ValIntrinsic {})) = n
116116
varName (ExpValue _ _ (ValIntrinsic n)) = n
117-
varName _ = error "Use of varName on non-variable."
117+
varName _ = error "Use of varName on non-variable."
118118

119119
-- | Obtain the source name from an ExpValue variable.
120120
srcName :: Expression (Analysis a) -> String
121-
srcName (ExpValue (Analysis { sourceName = Just n }) _ (ValVariable {})) = n
122-
srcName (ExpValue _ _ (ValVariable n)) = n
121+
srcName (ExpValue (Analysis { sourceName = Just n }) _ (ValVariable {})) = n
122+
srcName (ExpValue _ _ (ValVariable n)) = n
123123
srcName (ExpValue (Analysis { sourceName = Just n }) _ (ValIntrinsic {})) = n
124124
srcName (ExpValue _ _ (ValIntrinsic n)) = n
125-
srcName _ = error "Use of srcName on non-variable."
125+
srcName _ = error "Use of srcName on non-variable."
126126

127127
-- | Generate an ExpValue variable with its source name == to its uniqueName.
128128
genVar :: Analysis a -> SrcSpan -> String -> Expression (Analysis a)

0 commit comments

Comments
 (0)