From addac10a47693a976808bf75fe63aed19f8dbb63 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 22 Jul 2018 15:01:05 -0700 Subject: Re-autoformatted everything. The main changes are: no longer adding a newline after 1-line indented code inside blocks, and forcing files to have a trailing newline. The trailing newline thing created a lot of spurious changes. --- core/errors.nom | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/errors.nom') diff --git a/core/errors.nom b/core/errors.nom index 53b06a2..297144d 100644 --- a/core/errors.nom +++ b/core/errors.nom @@ -14,7 +14,6 @@ compile [compile error at %source %msg] to (..) compile [assume %condition] to: lua> ".." local \%assumption = 'Assumption failed: '..tostring(nomsu:tree_to_nomsu(\%condition)) - return (..) Lua ".." if not \(%condition as lua expr) then @@ -37,7 +36,7 @@ test: %x = 2 do (barf) then always: %x = 3 ..and if it barfs: do nothing - + assume (%x == 3) or barf "do/then always failed" # Try/except -- cgit v1.2.3