diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-09-14 15:19:50 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-09-14 15:20:07 -0700 |
| commit | 626b6cab7988e26766ba64178dd67e4093494552 (patch) | |
| tree | 47a12a5ac0364661335e53c045fd1a26b4a6fdf9 /string2.moon | |
| parent | 3e2844ef62d1b1fd099a790a0927e0768a2a846b (diff) | |
Updated compiler to produce cool string output.
Diffstat (limited to 'string2.moon')
| -rw-r--r-- | string2.moon | 1 |
1 files changed, 0 insertions, 1 deletions
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) |
