Fixed IDL generator mix of short/long Doxygen comments.

This commit is contained in:
Бранимир Караџић
2020-05-30 09:21:49 -07:00
parent 1c063fdc67
commit 2baa857065
3 changed files with 5 additions and 2 deletions

View File

@@ -774,6 +774,7 @@ function codegen.gen_flag_cdefine(flag)
local comment = ""
if item.comment then
if #item.comment > 1 then
s[#s+1] = ""
for _, c in ipairs(item.comment) do
s[#s+1] = "/// " .. c
end