mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Bro doc mode now only does a "shallow" copy of declared record types
This is necessary so that the cloned type will be able to see additions to the original type's list of fields
This commit is contained in:
parent
d919ebed58
commit
6d867cf999
3 changed files with 55 additions and 13 deletions
|
@ -456,6 +456,8 @@ public:
|
|||
// Given an offset, returns the field's name.
|
||||
const char* FieldName(int field) const;
|
||||
|
||||
type_decl_list* Types() { return types; }
|
||||
|
||||
// Given an offset, returns the field's TypeDecl.
|
||||
const TypeDecl* FieldDecl(int field) const;
|
||||
TypeDecl* FieldDecl(int field);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue