diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-31 13:13:52 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-31 13:13:52 -0800 |
| commit | 3199700ab667063556470bdd45bfce0905465974 (patch) | |
| tree | bf845cddf803ca13a3bb7ee2da02098369de7e3d /expression.h | |
| parent | 9ec2ac4c8860418beeb107bd58dc6f1284c492d0 (diff) | |
| download | sparse-dev-3199700ab667063556470bdd45bfce0905465974.tar.gz | |
Make local declarations be statements of their own
This removes the list of symbols for block statements, and instead makes
a declaration be a statement of its own.
This is necessary to correctly handle the case of mixed statements and
declarations correctly, since the order of declarations and statements
is meaningful.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'expression.h')
| -rw-r--r-- | expression.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/expression.h b/expression.h index bd81d371..ea6ab342 100644 --- a/expression.h +++ b/expression.h @@ -143,7 +143,7 @@ extern void evaluate_symbol_list(struct symbol_list *list); extern struct symbol *evaluate_statement(struct statement *stmt); extern struct symbol *evaluate_expression(struct expression *); -extern void expand_symbol(struct symbol *); +extern int expand_symbol(struct symbol *); static inline struct expression *alloc_expression(struct position pos, int type) { |
