【优化】修复cpp代码文档注释*号未对齐的问题
parent
9b7e5848e4
commit
b3eaee60ca
|
|
@ -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}};
|
||||||
|
|
|
||||||
|
|
@ -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~}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue