Revert "clay: render syntax errors at end of file"

This reverts commit 7a110db60d.
This commit is contained in:
fang 2022-07-07 16:21:43 +02:00
parent ddf3520648
commit a1b3348cdf
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -970,14 +970,8 @@
%- mean %- flop
=/ lyn p.hair
=/ col q.hair
^- (list tank)
:~ leaf+"syntax error at [{<lyn>} {<col>}] in {<pax>}"
::
=/ =wain (to-wain:format (crip tex))
?: (gth lyn (lent wain))
'<<end of file>>'
(snag (dec lyn) wain)
::
leaf+(trip (snag (dec lyn) (to-wain:format (crip tex))))
leaf+(runt [(dec col) '-'] "^")
==
::