From 59a09cb1d0db0376cfe11d2fd2b49e9af470a57e Mon Sep 17 00:00:00 2001 From: aeneid Date: Mon, 13 Jul 2015 22:58:54 +0300 Subject: [PATCH] comment update --- src/idl_gen_go.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/idl_gen_go.cpp b/src/idl_gen_go.cpp index a2e185b..04ee3db 100644 --- a/src/idl_gen_go.cpp +++ b/src/idl_gen_go.cpp @@ -330,7 +330,7 @@ static void StructBuilderArgs(const StructDef &struct_def, if (IsStruct(field.value.type)) { // Generate arguments for a struct inside a struct. To ensure names // don't clash, and to make it obvious these arguments are constructing - // a nested struct, prefix the name with the struct name. + // a nested struct, prefix the name with the field name. StructBuilderArgs(*field.value.type.struct_def, (nameprefix + (field.name + "_")).c_str(), code_ptr); -- 2.7.4