From 440608bc32916329c9f3c0f2bd9a8d1152ed5da8 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 14 Oct 2020 21:48:00 -0400 Subject: Gave the Location type its own module. --- stdlib/source/lux.lux | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'stdlib/source/lux.lux') diff --git a/stdlib/source/lux.lux b/stdlib/source/lux.lux index fa33ac0b4..01401ea29 100644 --- a/stdlib/source/lux.lux +++ b/stdlib/source/lux.lux @@ -1,7 +1,7 @@ ("lux def" dummy-location ["" 0 0] [["" 0 0] (9 #1 (0 #0))] - #1) + #0) ("lux def" double-quote ("lux i64 char" +34) @@ -5856,15 +5856,6 @@ _ (fail (..wrong-syntax-error (name-of ..^code))))) -(def: #export (location-description [file line column]) - (-> Location Text) - (let [separator ", " - fields ($_ "lux text concat" - (text@encode file) separator - (nat@encode line) separator - (nat@encode column))] - ($_ "lux text concat" "[" fields "]"))) - (template [ ] [(def: #export #0) (def: #export #1)] -- cgit v1.2.3