Changeset 17047 for src/Pugs/Parser

Show
Ignore:
Timestamp:
07/14/07 04:45:22 (17 months ago)
Author:
audreyt
Message:

* Final batch of HPC-inspired toplevel removals:

Pugs.AST.Pads.diffPads
Pugs.AST.Utils.getMapIndex
Pugs.Internals.ID.hashList

(moved to a local definition in Pugs.Parser.Charnames)

Pugs.Lexer.balanced
Pugs.Lexer.ruleWhiteSpaceLine (and ruleEndOfLine)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Parser/Charnames.hs

    r15503 r17047  
    2323 
    2424import qualified Data.HashTable as H 
    25 import UTF8 (unsafePackAddress) 
     25import UTF8 (unsafePackAddress, hash) 
    2626 
    2727-- If we don't have Perl 5, support for names in the 0x00 - 0xFF range only. 
     
    290290    , (unsafePackAddress 35 "LATIN SMALL LETTER Y WITH DIAERESIS"#, 0x00FF) 
    291291    ] 
     292    where 
     293    hashList :: [(ByteString, a)] -> IO (H.HashTable ByteString a) 
     294    hashList = H.fromList hash 
     295 
    292296#endif