fix flag output on data members
This commit is contained in:
parent
01ecc7124e
commit
714beaedef
|
|
@ -232,6 +232,7 @@ write_instance(ostream &out, bool brief, int indent_level,
|
|||
const string &postname) const {
|
||||
indent(out, indent_level);
|
||||
output_instance(out, brief, prename, name, postname);
|
||||
output_flags(out);
|
||||
out << ";";
|
||||
if (!brief && _number >= 0) {
|
||||
out << " // field " << _number;
|
||||
|
|
|
|||
|
|
@ -2337,7 +2337,6 @@ output_instance(ostream &out, bool brief, const string &prename,
|
|||
if (!prename.empty() || !name.empty() || !postname.empty()) {
|
||||
out << " " << prename << name << postname;
|
||||
}
|
||||
output_flags(out);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue