Improve error handling for unclosed blocks in a page
Having multiple (a few hundred) pages including partials etc.
If there is an error because of an unclosed block like when using -- or ---- etc., an error will get printed at a totally unrelated page with an unrelated issue. This makes it extremely hard to identify in which source page the error really occurs.
Would it be possible to limit error printout to the page where the error occurs? Means if the page is at its end and things are not closed properly, print the error here. Or the other way round, a new page must start from scratch not having things open from a former page. If this is not the case there is an issue to be handled.