fix flag output on data members

This commit is contained in:
David Rose 2005-05-25 22:24:41 +00:00
parent 01ecc7124e
commit 714beaedef
2 changed files with 1 additions and 1 deletions

View File

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

View File

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