Remove redundant print
This commit is contained in:
@ -141,7 +141,6 @@ local function parse_struct_fields(struct_name, bufnr)
|
|||||||
if bracket_count > 0 and i > start_line then
|
if bracket_count > 0 and i > start_line then
|
||||||
-- Remove comments and trim
|
-- Remove comments and trim
|
||||||
local clean_line = line:gsub("//.*$", ""):gsub("^%s*(.-)%s*$", "%1")
|
local clean_line = line:gsub("//.*$", ""):gsub("^%s*(.-)%s*$", "%1")
|
||||||
print("Clean line: ", clean_line)
|
|
||||||
|
|
||||||
-- Skip empty lines and closing braces
|
-- Skip empty lines and closing braces
|
||||||
if clean_line ~= "" and not clean_line:match("^}") and not clean_line:match("^{") then
|
if clean_line ~= "" and not clean_line:match("^}") and not clean_line:match("^{") then
|
||||||
|
|||||||
Reference in New Issue
Block a user