summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/core/signature.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/signature.lua b/script/core/signature.lua
index 76189fb7..26d9867c 100644
--- a/script/core/signature.lua
+++ b/script/core/signature.lua
@@ -49,6 +49,9 @@ local function makeOneSignature(source, oop, index)
: gsub('%b<>', function (str)
return ('_'):rep(#str)
end)
+ : gsub('%b()', function (str)
+ return ('_'):rep(#str)
+ end)
: gsub('[%[%]%(%)]', '_')
for start, finish in converted:gmatch '%s*()[^,]+()' do
i = i + 1