Changeset 10277 for src/Pugs/Compile.hs

Show
Ignore:
Timestamp:
05/11/06 11:59:02 (3 years ago)
Author:
audreyt
svk:copy_cache_prev:
13387
Message:

* bool::true is now Bool::True.
* True is now a valid literal.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Compile.hs

    r10228 r10277  
    217217        preC    <- compile pre 
    218218        -- loop (...; ; ...) {...} -> 
    219         -- loop (...; bool::true; ...) {...} 
     219        -- loop (...; True; ...) {...} 
    220220        let cond' | unwrap cond == Noop 
    221221                  = return $ PStmts (PStmt . PLit . PVal $ VBool True) PNil