mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Autodoc framework now tracks script constants
Also, it's starting to attempt to describe more complex types of initial values.
This commit is contained in:
parent
2490878656
commit
60a7dc6f55
6 changed files with 77 additions and 28 deletions
|
@ -991,6 +991,9 @@ decl:
|
|||
if ( $2->FindAttr(ATTR_REDEF) )
|
||||
current_reST_doc->AddOption(
|
||||
new BroDocObj($2, reST_doc_comments));
|
||||
else
|
||||
current_reST_doc->AddConstant(
|
||||
new BroDocObj($2, reST_doc_comments));
|
||||
}
|
||||
|
||||
| TOK_REDEF global_id opt_type init_class opt_init opt_attr ';'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue