mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 03:09:33 -06:00
some fixes for Shae
This commit is contained in:
@@ -67,6 +67,8 @@ emptyShellState = ShSt {
|
||||
statistics = []
|
||||
}
|
||||
|
||||
optInitShellState os = addGlobalOptions os emptyShellState
|
||||
|
||||
type Language = Ident
|
||||
language = identC
|
||||
prLanguage = prIdent
|
||||
@@ -225,7 +227,7 @@ greatestAbstract gr = case allAbstracts gr of
|
||||
|
||||
-- all resource modules
|
||||
allResources :: G.SourceGrammar -> [Ident]
|
||||
allResources gr = [i | (i,M.ModMod m) <- M.modules gr, M.mtype m == M.MTResource]
|
||||
allResources gr = [i | (i,M.ModMod m) <- M.modules gr, M.isModRes m]
|
||||
|
||||
|
||||
-- the greatest resource in dependency order
|
||||
|
||||
Reference in New Issue
Block a user