summaryrefslogtreecommitdiff
path: root/script/core/signature.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/signature.lua')
-rw-r--r--script/core/signature.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/signature.lua b/script/core/signature.lua
index 505526b6..bade7d7a 100644
--- a/script/core/signature.lua
+++ b/script/core/signature.lua
@@ -45,7 +45,7 @@ local function makeOneSignature(source, oop, index)
label = label:gsub('%s*->.+', '')
local params = {}
local i = 0
- local argStart, argLabel = label:match '()(%b())'
+ local argStart, argLabel = label:match '%S()(%b())'
local converted = argLabel
: sub(2, -2)
: gsub('%b<>', function (str)