Show
Ignore:
Timestamp:
07/30/07 17:41:45 (16 months ago)
Author:
masak
Message:

[Prim/Code.hs]
* corrections from auto-review ;)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Prim/Code.hs

    r17177 r17178  
    55import Pugs.AST 
    66import Pugs.Internals 
    7 import qualified Data.ByteString.Char8 as Char8 
    87-- import Pugs.Pretty 
    98 
     
    2524op1CodeName v = do 
    2625    code <- fromVal v 
    27     return . VStr $ case Char8.unpack(subName code) of 
     26    return . VStr $ case cast $ subName code of 
    2827        "<anon>"  -> cast $ subName code 
    2928        _         -> "&" ++ cast (subPackage code) ++