summaryrefslogtreecommitdiff
path: root/src/GF/API/BatchTranslate.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/API/BatchTranslate.hs')
-rw-r--r--src/GF/API/BatchTranslate.hs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/GF/API/BatchTranslate.hs b/src/GF/API/BatchTranslate.hs
index 5726e6739..88a10a2af 100644
--- a/src/GF/API/BatchTranslate.hs
+++ b/src/GF/API/BatchTranslate.hs
@@ -9,16 +9,14 @@
-- > CVS $Author $
-- > CVS $Revision $
--
--- (Description of the module)
+-- translate OCL, etc, files in batch mode
-----------------------------------------------------------------------------
-module BatchTranslate where
+module BatchTranslate (translate) where
import API
import GetMyTree (file2tree)
--- translate OCL, etc, files in batch mode
-
translate :: FilePath -> FilePath -> IO ()
translate fgr txt = do
gr <- file2grammar fgr