Changeset 2319 for src/Main.hs

Show
Ignore:
Timestamp:
04/25/05 10:42:44 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
3850
Message:

* Withdraw the tentative change of using trailing comma as

disambiguator against collapsing closures into hashes;
instead we now rely on the "single expressionness".

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Main.hs

    r2142 r2319  
    177177    makeProper exp = case exp of 
    178178        Val err@(VError _ _) -> fail $ pretty err 
    179         Statements stmts@((_,pos):_) | not (runOptSeparately opts) -> do 
     179        Stmts stmts@((_,pos):_) | not (runOptSeparately opts) -> do 
    180180            let withDump = stmts ++ [(Syn "dump" [], pos)] 
    181             return $ Statements withDump 
     181            return $ Stmts withDump 
    182182        _ | not (runOptSeparately opts) -> fail "Expected statements" 
    183183        _ -> return exp