From 61b570fd5890bc859812faae08ad53657790566c Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 13 Oct 2004 08:48:47 +0000 Subject: [PATCH] [project @ 2004-10-13 08:48:47 by simonmar] Undo part of previous commit, a little testing code sneaked in and broke all the GHCi tests. --- ghc/compiler/ghci/InteractiveUI.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/ghci/InteractiveUI.hs b/ghc/compiler/ghci/InteractiveUI.hs index 2e9a1a0..5b3d1e3 100644 --- a/ghc/compiler/ghci/InteractiveUI.hs +++ b/ghc/compiler/ghci/InteractiveUI.hs @@ -1,6 +1,6 @@ {-# OPTIONS -#include "Linker.h" #-} ----------------------------------------------------------------------------- --- $Id: InteractiveUI.hs,v 1.177 2004/10/11 14:44:38 simonmar Exp $ +-- $Id: InteractiveUI.hs,v 1.178 2004/10/13 08:48:47 simonmar Exp $ -- -- GHC Interactive User Interface -- @@ -266,7 +266,7 @@ interactiveLoop is_tty show_prompt = do -- read commands from stdin #ifdef USE_READLINE - if (True || is_tty) + if (is_tty) then readlineLoop else fileLoop stdin show_prompt #else -- 1.7.10.4