mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 20:08:31 +01:00
cpp2ffi: add ":" to characters in default detection
This commit is contained in:
@@ -620,7 +620,7 @@ local function parseFunction(self,stname,lineorig,namespace,locat)
|
||||
defT.defaults = {}
|
||||
--for k,def in args:gmatch("([%w%s%*_]+)=([%w_%(%)%s,%*]+)[,%)]") do
|
||||
--for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*%.%-]+)[,%)]") do
|
||||
for k,def in args:gmatch('([%w_]+)=([|<%w_%(%)%s,%*%.%-%+%%"]+)[,%)]') do
|
||||
for k,def in args:gmatch('([%w_]+)=([|<%w_%(%)%s,%*%.%-%+%%:"]+)[,%)]') do
|
||||
defT.defaults[k]=def
|
||||
end
|
||||
defT.templated = self.typenames[stname] and true
|
||||
|
Reference in New Issue
Block a user