Fix CommentedTypeDecl to track whether it's in a record like TypeDecl does.

This commit is contained in:
Jon Siwek 2011-05-12 19:55:26 -05:00
parent da5618b9ba
commit 70e14cb7d5
4 changed files with 14 additions and 4 deletions

View file

@ -420,7 +420,7 @@ public:
class CommentedTypeDecl : public TypeDecl {
public:
CommentedTypeDecl(BroType* t, const char* i, attr_list* attrs = 0,
std::list<std::string>* cmnt_list = 0);
bool in_record = false, std::list<std::string>* cmnt_list = 0);
virtual ~CommentedTypeDecl();
void DescribeReST(ODesc* d) const;