mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-17 08:49:31 -06:00
improved make facility: remember state if fails; does not need source
This commit is contained in:
@@ -125,8 +125,8 @@ string2GFCat = string2CFCat
|
||||
|
||||
optFile2grammar :: Options -> FilePath -> IOE GFGrammar
|
||||
optFile2grammar os f = do
|
||||
gr <- compileModule os emptyShellState f
|
||||
ioeErr $ grammar2stateGrammar os (fst gr)
|
||||
((_,_,gr),_) <- compileModule os emptyShellState f
|
||||
ioeErr $ grammar2stateGrammar os gr
|
||||
|
||||
optFile2grammarE :: Options -> FilePath -> IOE GFGrammar
|
||||
optFile2grammarE = optFile2grammar
|
||||
|
||||
Reference in New Issue
Block a user