projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
54306dd
)
some commnets added
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 5 Mar 2008 13:54:59 +0000
(13:54 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 5 Mar 2008 13:54:59 +0000
(13:54 +0000)
[r18910]
ast_t.h
patch
|
blob
|
history
diff --git
a/ast_t.h
b/ast_t.h
index
0cb0189
..
e6b71e6
100644
(file)
--- a/
ast_t.h
+++ b/
ast_t.h
@@
-174,9
+174,12
@@
typedef enum {
case EXPR_UNARY_ASSUME: \
case EXPR_UNARY_BITFIELD_EXTRACT:
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. */
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 {
};
struct expression_base_t {
@@
-442,8
+445,8
@@
struct declaration_t {
initializer_t *initializer;
expression_t *enum_value;
} init;
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;
/** next declaration in a scope */
declaration_t *next;