summaryrefslogtreecommitdiff
path: root/src/GF/Infra/ReadFiles.hs
diff options
context:
space:
mode:
authoraarne <unknown>2004-08-13 20:46:54 +0000
committeraarne <unknown>2004-08-13 20:46:54 +0000
commit1142d18a08cb8b9b96aefbd52fdadb05cb1982c7 (patch)
treed3a7c3242b7687cccfe30793d0cf7a1aca636ed0 /src/GF/Infra/ReadFiles.hs
parent69aa3248d2ea878ef45e9e8c177381730d949c32 (diff)
-s
Diffstat (limited to 'src/GF/Infra/ReadFiles.hs')
-rw-r--r--src/GF/Infra/ReadFiles.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/GF/Infra/ReadFiles.hs b/src/GF/Infra/ReadFiles.hs
index edbed4047..683eef04d 100644
--- a/src/GF/Infra/ReadFiles.hs
+++ b/src/GF/Infra/ReadFiles.hs
@@ -35,8 +35,9 @@ getAllFiles opts ps env file = do
-- read module headers from all files recursively
ds0 <- getImports ps file
let ds = [((snd m,map fst ms),p) | ((m,ms),p) <- ds0]
- ioeIO $ putStrLn $ "all modules:" +++ show (map (fst . fst) ds)
-
+ if oElem beSilent opts
+ then return ()
+ else ioeIO $ putStrLn $ "all modules:" +++ show (map (fst . fst) ds)
-- get a topological sorting of files: returns file names --- deletes paths
ds1 <- ioeErr $ either
return