【优化】修复cpp代码文档注释*号未对齐的问题

main
walon 2021-08-13 09:09:42 +08:00
parent 9b7e5848e4
commit b3eaee60ca
2 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@ class {{name}}
{{~for table in tables ~}} {{~for table in tables ~}}
{{~if table.comment != '' ~}} {{~if table.comment != '' ~}}
/** /**
{{table.comment}} * {{table.comment}}
*/ */
{{~end~}} {{~end~}}
{{table.cpp_full_name}} {{table.name}}; {{table.cpp_full_name}} {{table.name}};

View File

@ -220,7 +220,7 @@ enum class {{name}}
{{~if item.comment != '' ~}} {{~if item.comment != '' ~}}
/** /**
* {{item.comment}} * {{item.comment}}
*/ */
{{~end~}} {{~end~}}
{{item.name}} = {{item.value}}, {{item.name}} = {{item.value}},
{{~end~}} {{~end~}}