From d8ee2b06f3a47ed08239e4f52cec8aa8e49b6ef6 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Tue, 18 Jun 2013 18:45:31 -0500 Subject: Fix many ASSERT uses under Clang. Clang doesn't like whitespace between macro and arguments. Signed-off-by: Austin Seipp --- ghc/InteractiveUI.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ghc') diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs index a30410b6a8..7aaa1f1571 100644 --- a/ghc/InteractiveUI.hs +++ b/ghc/InteractiveUI.hs @@ -2466,7 +2466,7 @@ enclosingTickSpan _ (UnhelpfulSpan _) = panic "enclosingTickSpan UnhelpfulSpan" enclosingTickSpan md (RealSrcSpan src) = do ticks <- getTickArray md let line = srcSpanStartLine src - ASSERT (inRange (bounds ticks) line) do + ASSERT(inRange (bounds ticks) line) do let toRealSrcSpan (UnhelpfulSpan _) = panic "enclosingTickSpan UnhelpfulSpan" toRealSrcSpan (RealSrcSpan s) = s enclosing_spans = [ pan | (_,pan) <- ticks ! line -- cgit v1.2.1