mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +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
11
src/Val.cc
11
src/Val.cc
|
@ -576,9 +576,14 @@ void Val::Describe(ODesc* d) const
|
|||
|
||||
void Val::DescribeReST(ODesc* d) const
|
||||
{
|
||||
d->Add("``");
|
||||
ValDescribeReST(d);
|
||||
d->Add("``");
|
||||
if ( type->InternalType() == TYPE_INTERNAL_OTHER )
|
||||
Describe(d);
|
||||
else
|
||||
{
|
||||
d->Add("``");
|
||||
ValDescribeReST(d);
|
||||
d->Add("``");
|
||||
}
|
||||
}
|
||||
|
||||
void Val::ValDescribe(ODesc* d) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue