mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-11 12:18:30 +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 = {}
|
defT.defaults = {}
|
||||||
--for k,def in args:gmatch("([%w%s%*_]+)=([%w_%(%)%s,%*]+)[,%)]") do
|
--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
|
for k,def in args:gmatch('([%w_]+)=([|<%w_%(%)%s,%*%.%-%+%%:"]+)[,%)]') do
|
||||||
defT.defaults[k]=def
|
defT.defaults[k]=def
|
||||||
end
|
end
|
||||||
defT.templated = self.typenames[stname] and true
|
defT.templated = self.typenames[stname] and true
|
||||||
|
Reference in New Issue
Block a user