summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/string.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/base/string.lua')
-rw-r--r--xmake/scripts/base/string.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/scripts/base/string.lua b/xmake/scripts/base/string.lua
index d6f3bf748..b4be08cfa 100644
--- a/xmake/scripts/base/string.lua
+++ b/xmake/scripts/base/string.lua
@@ -25,6 +25,7 @@ local string = string or {}
-- find the last substring with the given pattern
function string.find_last(self, pattern, plain)
+
-- find the last substring
local curr = 0
repeat