Changeset 14489 for src/Pugs/Compile.hs

Show
Ignore:
Timestamp:
10/24/06 17:19:16 (2 years ago)
Author:
audreyt
Message:

* Restore support for:

if EXPR -> $x {

...

}
elsif EXPR -> $x {

...

}
else -> $x {

...

}

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Compile.hs

    r14355 r14489  
    313313        isLogicalLazy _ = False 
    314314    compile exp@(Syn "if" _) = compConditional exp 
     315    compile exp@(Syn "cond" _) = compConditional exp 
    315316    compile (Syn "{}" (x:xs)) = compile $ App (_Var "&postcircumfix:{}") (Just x) xs 
    316317    compile (Syn "[]" (x:xs)) = do