comment update

This commit is contained in:
aeneid 2015-07-13 22:58:54 +03:00
parent c23c620d26
commit 59a09cb1d0
1 changed files with 1 additions and 1 deletions

View File

@ -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);