Bro doc mode now tracks record redefs that extend its field list.

This commit is contained in:
Jon Siwek 2011-05-05 10:43:15 -05:00
parent aec63df90f
commit cf0a542f7c
5 changed files with 142 additions and 6 deletions

View file

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