From b3eaee60ca61c13e343f18f96a9d5104abb563b3 Mon Sep 17 00:00:00 2001 From: walon Date: Fri, 13 Aug 2021 09:09:42 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dcpp=E4=BB=A3=E7=A0=81=E6=96=87=E6=A1=A3=E6=B3=A8?= =?UTF-8?q?=E9=87=8A*=E5=8F=B7=E6=9C=AA=E5=AF=B9=E9=BD=90=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Luban.Job.Cfg/Source/Generate/CppCodeBinRender.cs | 2 +- src/Luban.Job.Common/Source/Utils/RenderUtil.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Luban.Job.Cfg/Source/Generate/CppCodeBinRender.cs b/src/Luban.Job.Cfg/Source/Generate/CppCodeBinRender.cs index 5716eb1..454d6e2 100644 --- a/src/Luban.Job.Cfg/Source/Generate/CppCodeBinRender.cs +++ b/src/Luban.Job.Cfg/Source/Generate/CppCodeBinRender.cs @@ -218,7 +218,7 @@ class {{name}} {{~for table in tables ~}} {{~if table.comment != '' ~}} /** - {{table.comment}} + * {{table.comment}} */ {{~end~}} {{table.cpp_full_name}} {{table.name}}; diff --git a/src/Luban.Job.Common/Source/Utils/RenderUtil.cs b/src/Luban.Job.Common/Source/Utils/RenderUtil.cs index 6bbb935..42ae602 100644 --- a/src/Luban.Job.Common/Source/Utils/RenderUtil.cs +++ b/src/Luban.Job.Common/Source/Utils/RenderUtil.cs @@ -220,7 +220,7 @@ enum class {{name}} {{~if item.comment != '' ~}} /** * {{item.comment}} - */ + */ {{~end~}} {{item.name}} = {{item.value}}, {{~end~}}