From aa2902256f5d47891be951c0a822b64614e97645 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 11 Nov 2018 15:27:55 -0800 Subject: [PATCH] Removing compile-error shim. --- core/errors.nom | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/errors.nom b/core/errors.nom index 7cec344..e254209 100644 --- a/core/errors.nom +++ b/core/errors.nom @@ -7,10 +7,6 @@ use "core/metaprogramming.nom" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (barf %msg) compiles to "error(\(=lua "\%msg and \(%msg as lua expr) or 'nil'"), 0);" -(compile error at %tree %msg) compiles to "\ - ..nomsu:compile_error(\(%tree as lua expr), \(%msg as lua expr))" -(compile error at %tree %msg hint %hint) compiles to "\ - ..nomsu:compile_error(\(%tree as lua expr), \(%msg as lua expr), \(%hint as lua expr))" (assume %condition) compiles to: lua> "\