fix: include: report read failures with correct line number
This commit is contained in:
parent
2dcfe22c89
commit
3741f9f030
@ -346,6 +346,7 @@ includedirectivep = do
|
||||
Just fmt -> map ((show fmt++":")++) paths'
|
||||
|
||||
-- parse each one, as if inlined here
|
||||
setOffset off
|
||||
forM_ prefixedpaths $ parseIncludedFile off pos
|
||||
|
||||
where
|
||||
|
||||
Loading…
Reference in New Issue
Block a user