summaryrefslogtreecommitdiff
path: root/src/GF/Devel/Compile/GFC.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/Devel/Compile/GFC.hs')
-rw-r--r--src/GF/Devel/Compile/GFC.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Devel/Compile/GFC.hs b/src/GF/Devel/Compile/GFC.hs
index 31be084a1..f60ec9380 100644
--- a/src/GF/Devel/Compile/GFC.hs
+++ b/src/GF/Devel/Compile/GFC.hs
@@ -32,7 +32,7 @@ mainGFC xx = do
mapM_ (alsoPrint opts target gc) printOptions
-- gfc -o target.gfcc source_1.gfcc ... source_n.gfcc
- _ | all ((=="gfcc") . fileSuffix) fs -> do
+ _ | all ((==".gfcc") . takeExtensions) fs -> do
gfccs <- mapM file2gfcc fs
let gfcc = foldl1 unionGFCC gfccs
let abs = printCId $ absname gfcc