Changeset 5358 for src/Pugs/Compile
- Timestamp:
- 07/10/05 14:55:01 (3 years ago)
- svk:copy_cache_prev:
- 7349
- Files:
-
- 1 modified
-
src/Pugs/Compile/Pugs.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Compile/Pugs.hs
r5357 r5358 92 92 return $ prettyDo 93 93 [ prettyBind "exp" expC 94 , text ("return (" ++ con ++ " " ++ show anno ++ "exp)")94 , text ("return (" ++ con ++ " (" ++ show anno ++ ") exp)") 95 95 ] 96 96 … … 172 172 -- Haddock can't cope with Template Haskell 173 173 instance Compile VCode where 174 compile code | subType code == SubPrim= return $ text "return mkPrim"174 compile MkCode{ subBody = Prim _ } = return $ text "return mkPrim" 175 175 compile code = do 176 176 bodyC <- compile $ subBody code
