Changeset 5474 for src/Pugs/Prim/Eval.hs

Show
Ignore:
Timestamp:
07/12/05 12:01:46 (3 years ago)
Author:
autrijus
svk:copy_cache_prev:
7492
Message:

* Allow exporting into non-main packages; export.t finally fixed. :)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Prim/Eval.hs

    r5466 r5474  
    8585 
    8686opEval :: EvalStyle -> FilePath -> String -> Eval Val 
    87 opEval style path str = do 
     87opEval style path str = enterCaller $ do 
    8888    env <- ask 
    8989    let env' = parseProgram env path str 
     
    9191            EvalResultEnv -> (`mergeStmts` Syn "env" []) 
    9292            _             -> id 
    93     val <- resetT $ local (const env') $ enterCaller $ do 
     93    val <- resetT $ local (const env') $ do 
    9494        evl <- asks envEval 
    9595        evl (trans $ envBody env')