mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-10 19:52:50 -06:00
fixed the mysterious "file..gfc" error
This commit is contained in:
@@ -217,7 +217,7 @@ compileOne opts env@((_,srcgr,cancgr0,eenv),_) file = do
|
||||
|
||||
b <- ioeIO $ doesFileExist file
|
||||
if not b
|
||||
then compileOne opts env $ gfcFile (init (init file))
|
||||
then compileOne opts env $ gfcFile $ unsuffixFile file
|
||||
else do
|
||||
|
||||
sm0 <- putpOpt ("- parsing" +++ file) ("- compiling" +++ file ++ "... ") $
|
||||
|
||||
Reference in New Issue
Block a user