Changeset 7139 for src/Main.hs

Show
Ignore:
Timestamp:
09/26/05 00:04:04 (3 years ago)
Author:
putter
Message:

src/Main.hs: pass backends all arguments, not just some. -I again works.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Main.hs

    r7137 r7139  
    8484run ("-C":backend:file:_)                = slurpFile file >>= doCompileDump backend file 
    8585 
    86 run ("-B":backend:args) | (== map toLower backend) `any` ["js","perl5"] = 
    87     doHelperRun backend args 
     86run ("-B":backend:_) | (== map toLower backend) `any` ["js","perl5"] = 
     87    doHelperRun backend =<< getArgs 
    8888run ("-B":backend:"-e":prog:_)           = doCompileRun backend "-e" prog 
    8989run ("-B":backend:file:_)                = slurpFile file >>= doCompileRun backend file