Skip to content

Commit fd46091

Browse files
committed
undo; last commit was a mistake
1 parent 955983e commit fd46091

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Language/Fortran/Util/ModFile.hs

+2-3
Original file line numberDiff line numberDiff line change
@@ -257,12 +257,11 @@ genUniqNameToFilenameMap :: FilePath -> ModFiles -> M.Map F.Name (String, Maybe
257257
genUniqNameToFilenameMap localPath m = M.unions . map perMF $ m
258258
where
259259
perMF mf = M.fromList
260-
$ [ (n, (normalise $ localPath </> fname, Nothing))
260+
$ [ (n, (fname, Nothing))
261261
| (_p, modEnv) <- M.toList localModuleMap
262262
, (n, _) <- M.elems modEnv ]
263263
-- decl map information
264-
<> [(n, (normalise $ localPath </> fname, Just srcName))
265-
| (n, (_dc, srcName, _)) <- M.toList declMap ]
264+
<> [(n, (fname, Just srcName)) | (n, (_dc, srcName, _)) <- M.toList declMap ]
266265

267266
where
268267
-- Make sure that we remove imported declarations so we can

0 commit comments

Comments
 (0)