summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/string.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-05 22:28:02 +0800
committerruki <[email protected]>2015-12-05 22:28:02 +0800
commit82fc443c84a02c7cf19248c5f9a70ef9f3a2032f (patch)
tree07189e5fefd41e23475c831d539d45e8b0e3af9c /xmake/scripts/base/string.lua
parentf77eb028a770969a3e87af41e41fe1e66b3b7842 (diff)
impl add_files *.lib for windows
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