From f0e1111b7c858aa0be7a2fcc871004dedad80fba Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 30 Jul 2021 19:56:44 +0100 Subject: [PATCH] tokenise_commands: fix luacheck issue --- worldeditadditions/utils/parse/tokenise_commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions/utils/parse/tokenise_commands.lua b/worldeditadditions/utils/parse/tokenise_commands.lua index 2a96746..eb44dbb 100644 --- a/worldeditadditions/utils/parse/tokenise_commands.lua +++ b/worldeditadditions/utils/parse/tokenise_commands.lua @@ -40,7 +40,7 @@ local function tokenise(str) -- Decrease the nested depth nested_depth = nested_depth - 1 -- Pop the start of this block off the stack and find this block's contents - block_start = table.remove(nested_stack, #nested_stack) + local block_start = table.remove(nested_stack, #nested_stack) local substr = str:sub(block_start, nextpos - 1) if #substr > 0 and nested_depth == 0 then table.insert(result, substr) end elseif char == "{" then