1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 04:51:57 +03:00

Resume using parseBlob.

This commit is contained in:
Rob Rix 2017-05-26 15:05:47 -04:00
parent 4e131c84d9
commit c167a2a28e

View File

@ -58,7 +58,7 @@ parseBlobs decorator renderer blobs =
renderConcurrently parseAndRender (filter (not . nonExistentBlob) blobs)
where
parseAndRender blob = do
term <- decorator (source blob) <$> runParser (parserForLanguage (blobLanguage blob)) (source blob)
term <- parseBlob decorator blob
pure $! runRenderer renderer (Identity blob, term)
-- | Parse a SourceBlob.