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:
Jon Siwek 2013-10-30 16:07:57 -05:00
parent 52733b0501
commit 3a99aaaf0a
14 changed files with 489 additions and 131 deletions

View file

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