From a1b3348cdf71ce4caed99534e41c5e7890bca0bd Mon Sep 17 00:00:00 2001 From: fang Date: Thu, 7 Jul 2022 16:21:43 +0200 Subject: [PATCH] Revert "clay: render syntax errors at end of file" This reverts commit 7a110db60dd63743ebe5f21271721ac6e5119e3c. --- pkg/arvo/sys/vane/clay.hoon | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pkg/arvo/sys/vane/clay.hoon b/pkg/arvo/sys/vane/clay.hoon index 8c0a7f2767..ab938a0786 100644 --- a/pkg/arvo/sys/vane/clay.hoon +++ b/pkg/arvo/sys/vane/clay.hoon @@ -970,14 +970,8 @@ %- mean %- flop =/ lyn p.hair =/ col q.hair - ^- (list tank) :~ leaf+"syntax error at [{} {}] in {}" - :: - =/ =wain (to-wain:format (crip tex)) - ?: (gth lyn (lent wain)) - '<>' - (snag (dec lyn) wain) - :: + leaf+(trip (snag (dec lyn) (to-wain:format (crip tex)))) leaf+(runt [(dec col) '-'] "^") == ::