From 3ae418bba2305de50dc44ecab6eba0c74ebaa09f Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Staff=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Wed, 29 Aug 2018 11:10:31 +0900 Subject: [PATCH] [enco] Append missing semicolon (#1222) The current implementation emits assert call without semicolon. Signed-off-by: Jonghyun Park --- contrib/enco/core/src/CppGen/Subnet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/enco/core/src/CppGen/Subnet.cpp b/contrib/enco/core/src/CppGen/Subnet.cpp index 105208f..d3a591e 100644 --- a/contrib/enco/core/src/CppGen/Subnet.cpp +++ b/contrib/enco/core/src/CppGen/Subnet.cpp @@ -47,8 +47,8 @@ std::unique_ptr SubnetStructBuilder::build(const ANNBinder *binder auto res = make_unique(); // TODO Fill constructor and destructor - res->ctor()->append(S(assert("NYI"))); - res->dtor()->append(S(assert("NYI"))); + res->ctor()->append(S(assert("NYI");)); + res->dtor()->append(S(assert("NYI");)); return std::move(res); } @@ -58,7 +58,7 @@ std::unique_ptr SubnetBlockCompiler::compile(const ANNBinder auto res = nncc::foundation::make_unique(); // TODO Generate appropriate code - res->append(S(assert("NYI"))); + res->append(S(assert("NYI");)); return std::move(res); } -- 2.7.4