mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
printing line numbers in rename and check-grammar error messages
This commit is contained in:
@@ -56,7 +56,10 @@ rebuildModule ms mo@(i,mi) = do
|
||||
m0s <- mapM (lookupModMod gr) j0s
|
||||
let notInM0 c _ = all (not . isInBinTree c . jments) m0s
|
||||
let js2 = filterBinTree notInM0 js'
|
||||
return $ replaceJudgements m js2
|
||||
return $ (replaceJudgements m js2)
|
||||
{positions =
|
||||
buildTree (tree2list (positions m1) ++
|
||||
tree2list (positions m))}
|
||||
return $ ModMod m'
|
||||
_ -> return mi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user