Show
Ignore:
Timestamp:
08/01/08 14:20:21 (4 months ago)
Author:
audreyt
Message:

* Reflect data-dir changes.

Files:
1 modified

Legend:

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

    r21673 r21677  
    3333doMatch :: String -> VRule -> Eval VMatch 
    3434doMatch cs rule@MkRulePGE{ rxRule = ruleStr } = do 
    35     pwd     <- io $ getDataFileName "blib6/pugs/perl5/lib" 
     35    pwd1    <- io $ getDataFileName "perl5/Pugs-Compiler-Rule/lib" 
     36    pwd2    <- io $ getDataFileName "third-party/Parse-Yapp/lib" 
    3637    glob    <- askGlobal 
    3738    let syms = [ (cast $ v_name var, entry) 
     
    4950    let ruleEngine | Just "PGE" <- rv   = evalPGE 
    5051                   | otherwise          = evalPCR 
    51     pge  <- io $ ruleEngine pwd cs text subrules 
     52    pge  <- io $ ruleEngine [pwd1, pwd2] cs text subrules 
    5253            `catchIO` (\e -> return $ show e) 
    5354    rv  <- tryIO Nothing $ fmap Just (readIO $ decodeUTF8 pge)