Changeset 14353 for src/Pugs/Eval.hs

Show
Ignore:
Timestamp:
10/17/06 08:26:08 (2 years ago)
Author:
audreyt
svk:copy_cache_prev:
21206
Message:

* Pugs.Compile: Repair PIL1's handling of loops.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Eval.hs

    r14337 r14353  
    513513        evalCond | unwrap cond == Noop = return True 
    514514                 | otherwise = fromVal =<< enterEvalContext (cxtItem "Bool") cond 
    515     sub     <- fromVal =<< (enterRValue $ enterEvalContext (cxtItem "Code") body) 
     515    sub     <- fromCodeExp body 
    516516    evalExp pre 
    517517    vb      <- evalCond