Changeset 4860 for src/Pugs/Compile
- Timestamp:
- 06/20/05 01:13:14 (4 years ago)
- svk:copy_cache_prev:
- 6641
- Files:
-
- 1 modified
-
src/Pugs/Compile/PIR.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Compile/PIR.hs
r4859 r4860 263 263 compile $ App (Var "&Pugs::Internals::symbolic_deref") Nothing $ 264 264 (Val . VStr $ sigil:""):exps 265 compile (App (Var "&goto") (Just inv) args) = do 266 cxt <- askTCxt 267 funC <- compile inv 268 argsC <- enter cxtItemAny $ compile args 269 return $ PApp (TTailCall cxt) funC argsC 265 270 compile (App fun (Just inv) args) = do 266 271 compile (App fun Nothing (inv:args)) -- XXX WRONG … … 268 273 cxt <- askTCxt 269 274 funC <- compile fun 270 argsC <- mapM (enter cxtItemAny . compile)args275 argsC <- enter cxtItemAny $ compile args 271 276 return $ PApp cxt funC argsC 272 277 compile exp@(Syn "if" _) = compConditional exp
