Changeset 12786

Show
Ignore:
Timestamp:
05.11.2009 17:48:32 (2 weeks ago)
Author:
maeder
Message:

check for MAUDE_LIB variable

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Maude/Maude2DG.hs

    r12653 r12786  
    4848import Common.LibName 
    4949import Common.AS_Annotation 
     50import Common.Utils 
    5051 
    5152import Driver.Options 
     
    587588directMaudeParsing :: FilePath -> IO DGraph 
    588589directMaudeParsing fp = do 
     590  ml <- getEnvDef "MAUDE_LIB" "" 
     591  if null ml then error "environment variable MAUDE_LIB is not set" else do 
    589592    ns <- parse fp 
    590593    let ns' = either (\ _ -> []) id ns