Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dorchard committed Sep 4, 2024
1 parent 1fde26a commit a3e71c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Language/Fortran/Util/ModFile.hs
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ decodeModFiles' = fmap (map snd) . decodeModFiles
combinedModuleMap :: ModFiles -> FAR.ModuleMap
combinedModuleMap = M.unions . map mfModuleMap

-- | Inside the module map, remove all imported declarations so that
-- we can properly localise declarations to the originator file.
localisedModuleMap :: FAR.ModuleMap -> FAR.ModuleMap
localisedModuleMap = M.map (M.filter (not . FA.isImported . snd))

Expand Down

0 comments on commit a3e71c1

Please sign in to comment.