From: Michael Beck Date: Wed, 5 Mar 2008 13:54:59 +0000 (+0000) Subject: some commnets added X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b0b7c982fa99b7d380b6f48f27d74982af2fd03f;p=cparser some commnets added [r18910] --- diff --git a/ast_t.h b/ast_t.h index 0cb0189..e6b71e6 100644 --- a/ast_t.h +++ b/ast_t.h @@ -174,9 +174,12 @@ typedef enum { case EXPR_UNARY_ASSUME: \ case EXPR_UNARY_BITFIELD_EXTRACT: +/** + * A scope containing declarations. + */ struct scope_t { declaration_t *declarations; /**< List of declarations in this scope. */ - declaration_t *last_declaration; + declaration_t *last_declaration; /**< last declaration in this scope. */ }; struct expression_base_t { @@ -442,8 +445,8 @@ struct declaration_t { initializer_t *initializer; expression_t *enum_value; } init; - scope_t scope; - scope_t *parent_scope; + scope_t scope; /**< The scope that this declaration opens. */ + scope_t *parent_scope; /**< The parant scope where this declaration lives. */ /** next declaration in a scope */ declaration_t *next;