From fc111c1a7910ab4a2a1bf40c0473bbaacadedd61 Mon Sep 17 00:00:00 2001 From: krasimir Date: Tue, 22 Apr 2008 11:39:46 +0000 Subject: use the standard System.FilePath module instead of our own broken file path manipulation functions --- src/GF/Devel/Compile/GFC.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Devel/Compile/GFC.hs') 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 -- cgit v1.2.3