projects
/
platform
/
upstream
/
flatbuffers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7d8102
)
comment update
author
aeneid
<maor.tt@gmail.com>
Sun, 12 Jul 2015 19:12:58 +0000
(22:12 +0300)
committer
aeneid
<maor.tt@gmail.com>
Sun, 12 Jul 2015 19:12:58 +0000
(22:12 +0300)
src/idl_gen_general.cpp
patch
|
blob
|
history
diff --git
a/src/idl_gen_general.cpp
b/src/idl_gen_general.cpp
index
9bb411e
..
fa84cee
100644
(file)
--- a/
src/idl_gen_general.cpp
+++ b/
src/idl_gen_general.cpp
@@
-448,7
+448,7
@@
static void GenStructArgs(const LanguageParameters &lang,
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.
GenStructArgs(lang, *field.value.type.struct_def, code_ptr,
(nameprefix + (field.name + "_")).c_str());
} else {