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:
parent
4e131c84d9
commit
c167a2a28e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user