1
0
forked from GitHub/gf-core

unforgetting new env after i command

This commit is contained in:
aarne
2008-05-30 17:13:38 +00:00
parent be33990fa8
commit 5d63852680

View File

@@ -47,7 +47,7 @@ loop opts gfenv0 = do
Ok (opts',files) -> importInEnv gfenv (addOptions opts opts') files
Bad err -> do putStrLn $ "Command parse error: " ++ err
return gfenv
loopNewCPU gfenv
loopNewCPU gfenv'
-- other special commands, working on GFEnv
"e":_ -> loopNewCPU $ gfenv {commandenv=env{multigrammar=emptyPGF}}