mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Add BIF interface for retrieving comments/docs.
The new BIFs: - get_identifier_comments - get_script_comments - get_package_readme - get_record_field_comments
This commit is contained in:
parent
52733b0501
commit
3a99aaaf0a
14 changed files with 489 additions and 131 deletions
|
@ -1028,8 +1028,13 @@ decl:
|
|||
// Broxygen already grabbed new enum IDs as the type created them.
|
||||
}
|
||||
|
||||
| TOK_REDEF TOK_RECORD global_id { cur_decl_type_id = $3; } TOK_ADD_TO
|
||||
'{' { ++in_record; } type_decl_list { --in_record; } '}' opt_attr ';'
|
||||
| TOK_REDEF TOK_RECORD global_id
|
||||
{ cur_decl_type_id = $3; broxygen_mgr->StartRedef($3); }
|
||||
TOK_ADD_TO '{'
|
||||
{ ++in_record; }
|
||||
type_decl_list
|
||||
{ --in_record; }
|
||||
'}' opt_attr ';'
|
||||
{
|
||||
cur_decl_type_id = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue