mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-09 19:38:30 +01:00
take care of space before brackets in function
This commit is contained in:
@@ -787,7 +787,6 @@ struct ImFont
|
||||
{
|
||||
const char* b;
|
||||
const char* e;
|
||||
const char* end () const { return e; }
|
||||
};
|
||||
struct Pair
|
||||
{
|
||||
|
@@ -1027,7 +1027,6 @@ struct ImFont
|
||||
{
|
||||
const char* b;
|
||||
const char* e;
|
||||
const char* end () const { return e; }
|
||||
};
|
||||
struct Pair
|
||||
{
|
||||
|
@@ -787,7 +787,6 @@ struct ImFont
|
||||
{
|
||||
const char* b;
|
||||
const char* e;
|
||||
const char* end () const { return e; }
|
||||
};
|
||||
struct Pair
|
||||
{
|
||||
|
File diff suppressed because one or more lines are too long
@@ -1638,9 +1638,6 @@ defs["structs"]["TextRange"][1]["name"] = "b"
|
||||
defs["structs"]["TextRange"][2] = {}
|
||||
defs["structs"]["TextRange"][2]["type"] = "const char*"
|
||||
defs["structs"]["TextRange"][2]["name"] = "e"
|
||||
defs["structs"]["TextRange"][3] = {}
|
||||
defs["structs"]["TextRange"][3]["type"] = "const char* end()const { return"
|
||||
defs["structs"]["TextRange"][3]["name"] = "e"
|
||||
defs["structs"]["ImGuiOnceUponAFrame"] = {}
|
||||
defs["structs"]["ImGuiOnceUponAFrame"][1] = {}
|
||||
defs["structs"]["ImGuiOnceUponAFrame"][1]["type"] = "int"
|
||||
|
@@ -237,7 +237,7 @@ end
|
||||
|
||||
|
||||
local function struct_parser()
|
||||
local function_re = "(%a*%w+%b())" --"(%a*%w+%s+%w+%b())"
|
||||
local function_re = "(%a*%w+%s*%b())" --"(%a*%w+%b())" --"(%a*%w+%s+%w+%b())"
|
||||
local function_closing_re = "}"
|
||||
local function_closed_re = "[;}]$"
|
||||
local operator_re = "operator.-%b()"
|
||||
|
Reference in New Issue
Block a user