From 626b6cab7988e26766ba64178dd67e4093494552 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 14 Sep 2018 15:19:50 -0700 Subject: Updated compiler to produce cool string output. --- string2.moon | 1 - 1 file changed, 1 deletion(-) (limited to 'string2.moon') diff --git a/string2.moon b/string2.moon index 2273cff..4e62e92 100644 --- a/string2.moon +++ b/string2.moon @@ -24,7 +24,6 @@ string2 = { line_at: (pos)=> assert(type(pos) == 'number', "Invalid string position") - return if pos < 1 or pos > #@ for i, line, start, stop in isplit(@, '\n') if stop+1 >= pos return line, i, (pos-start+1) -- cgit v1.2.3