mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Fix CommentedTypeDecl to track whether it's in a record like TypeDecl does.
This commit is contained in:
parent
da5618b9ba
commit
70e14cb7d5
4 changed files with 14 additions and 4 deletions
|
@ -848,8 +848,8 @@ void TypeDecl::DescribeReST(ODesc* d) const
|
|||
}
|
||||
|
||||
CommentedTypeDecl::CommentedTypeDecl(BroType* t, const char* i,
|
||||
attr_list* attrs, std::list<std::string>* cmnt_list)
|
||||
: TypeDecl(t, i, attrs)
|
||||
attr_list* attrs, bool in_record, std::list<std::string>* cmnt_list)
|
||||
: TypeDecl(t, i, attrs, in_record)
|
||||
{
|
||||
comments = cmnt_list;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue