mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +00:00
split_shell: comment debug
also, in 45def53
we fixed a bug with quotes being left behind at the and
of a string
This commit is contained in:
parent
38b095d33e
commit
07c55dc740
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ local function split_shell(text)
|
||||||
if i < text_length then nextchar = text:sub(i+1, i+1) end
|
if i < text_length then nextchar = text:sub(i+1, i+1) end
|
||||||
if i+1 < text_length then nextnextchar = text:sub(i+2, i+2) end
|
if i+1 < text_length then nextnextchar = text:sub(i+2, i+2) end
|
||||||
|
|
||||||
print("mode", mode, "prevchar", "curchar", curchar, "nextchar", nextchar)
|
print("mode", mode, "prevchar", prevchar, "curchar", curchar, "nextchar", nextchar)
|
||||||
|
|
||||||
if mode == "NORMAL" then
|
if mode == "NORMAL" then
|
||||||
if is_whitespace(curchar) and #acc > 0 then
|
if is_whitespace(curchar) and #acc > 0 then
|
||||||
|
|
Loading…
Reference in a new issue