mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Bro doc mode now tracks record redefs that extend its field list.
This commit is contained in:
parent
aec63df90f
commit
cf0a542f7c
5 changed files with 142 additions and 6 deletions
|
@ -107,6 +107,11 @@ export {
|
|||
field2: bool; ##< toggles something
|
||||
};
|
||||
|
||||
## document the record extension redef here
|
||||
redef record SimpleRecord += {
|
||||
## document the extending field here
|
||||
field_ext: string &optional; ##< (or here)
|
||||
};
|
||||
|
||||
## general documentation for a type "ComplexRecord" goes here
|
||||
type ComplexRecord: record {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue