summaryrefslogtreecommitdiff
path: root/src/compiler/GFI.hs
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-02-03 20:55:54 +0000
committeraarne <aarne@chalmers.se>2010-02-03 20:55:54 +0000
commit064cfef331cbd6ced6b8a85d02ceb11bfb2da6e2 (patch)
treebdec303f8b605c886ef5bba8869b1b378d996f21 /src/compiler/GFI.hs
parentb90e56a94e335d42dd5abe653555cc0854803037 (diff)
command eh ; lib/doc/tour started
Diffstat (limited to 'src/compiler/GFI.hs')
-rw-r--r--src/compiler/GFI.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/GFI.hs b/src/compiler/GFI.hs
index 4266afa45..2b1d125d9 100644
--- a/src/compiler/GFI.hs
+++ b/src/compiler/GFI.hs
@@ -130,6 +130,10 @@ loop opts gfenv0 = do
writeFile "_gfdepgraph.dot" (depGraph sgr)
putStrLn "wrote graph in file _gfdepgraph.dot"
loopNewCPU gfenv
+ "eh":w:_ -> do
+ cs <- readFile w >>= return . map (interpretCommandLine enc env) . lines
+ loopNewCPU gfenv
+
"i":args -> do
gfenv' <- case parseOptions args of
Ok (opts',files) -> do