summaryrefslogtreecommitdiff
path: root/ghc/compiler/javaGen/PrintJava.lhs
diff options
context:
space:
mode:
authorandy <unknown>2000-06-09 00:43:55 +0000
committerandy <unknown>2000-06-09 00:43:55 +0000
commite7db662bfc0fd382f6ba650567cc32d1abfb210b (patch)
treed275265b7ec9056a29a1a3f511f2e70b7046d999 /ghc/compiler/javaGen/PrintJava.lhs
parente653c5bf94d66d85092c7a6dd741367365ef3a4c (diff)
downloadhaskell-e7db662bfc0fd382f6ba650567cc32d1abfb210b.tar.gz
[project @ 2000-06-09 00:43:55 by andy]
Commiting version of the STG->GOO code generator that works with fib.
Diffstat (limited to 'ghc/compiler/javaGen/PrintJava.lhs')
-rw-r--r--ghc/compiler/javaGen/PrintJava.lhs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ghc/compiler/javaGen/PrintJava.lhs b/ghc/compiler/javaGen/PrintJava.lhs
index e077d4eb23..02118da3ce 100644
--- a/ghc/compiler/javaGen/PrintJava.lhs
+++ b/ghc/compiler/javaGen/PrintJava.lhs
@@ -144,9 +144,9 @@ exprStatement e = e <> semi
declStatement d = d
-ifthenelse ((e,s):ecs) ms = sep [text "if" <+> parens e <+> text "{",
- indent s,
- thenelse ecs ms]
+ifthenelse ((e,s):ecs) ms = sep [ text "if" <+> parens e <+> text "{",
+ indent s,
+ thenelse ecs ms]
thenelse ((e,s):ecs) ms = sep [ text "} else if" <+> parens e <+> text "{",
indent s,