Changeset 7623
- Timestamp:
- 10/15/05 13:42:53 (3 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Compile.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Compile.hs
r7591 r7623 290 290 isLogicalLazy (PExp (PVar "&infix:or")) = True 291 291 isLogicalLazy (PExp (PVar "&infix:and")) = True 292 isLogicalLazy (PExp (PVar "&infix:err")) = True 292 293 isLogicalLazy (PExp (PVar "&infix:||")) = True 293 294 isLogicalLazy (PExp (PVar "&infix:&&")) = True 294 295 isLogicalLazy (PExp (PVar "&infix://")) = True 295 isLogicalLazy (PExp (PVar "&infix:err")) = True296 296 isLogicalLazy _ = False 297 297 compile exp@(Syn "if" _) = compConditional exp … … 333 333 } 334 334 ]) Nothing [] 335 -- For PIL2 we want real zone separation, e.g. 336 -- PApp { pNamedArgs = [...], pPositionalArgs = [...], ... } 337 -- For now, using &Pugs::Internals::named_pair is probably ok. 338 compile (Syn "named" kv@[_, _]) = do 339 compile $ App (Var "&Pugs::Internals::named_pair") Nothing kv 335 340 compile exp = compError exp 336 341
