From a1849da175765350e013bdeecfa4e0ad3c066937 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 27 Mar 2019 15:22:46 -0700 Subject: Autoformat (mostly just to do with the new blank-line-after-end-of-multi-indent-block rule --- lib/core/errors.nom | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/core/errors.nom') diff --git a/lib/core/errors.nom b/lib/core/errors.nom index 0b5479d..ef5412e 100644 --- a/lib/core/errors.nom +++ b/lib/core/errors.nom @@ -1,5 +1,4 @@ #!/usr/bin/env nomsu -V7.0.0 - ### This file contains basic error reporting code @@ -27,6 +26,7 @@ use "core/control_flow" end end ") + if ($condition.type == "Action"): when $condition.stub is: "1 ==": @@ -132,6 +132,7 @@ test: $fallback_lua, prepend "\n\$msg_lua = _result[2]\n" if ($msg_lua, text, is lua id): $fallback_lua, add free vars [($msg_lua, text)] + $fallback_lua, prepend "-- Failure:\n" return Lua (" do @@ -191,4 +192,4 @@ test: if not _results[1] then error(_results[2], 0) end if not _fell_through then return table.unpack(_results, 2) end end -") +") \ No newline at end of file -- cgit v1.2.3