diff options
author | Søren Sandmann <sandmann@redhat.com> | 2007-12-31 17:31:58 -0500 |
---|---|---|
committer | Søren Sandmann <sandmann@redhat.com> | 2007-12-31 17:31:58 -0500 |
commit | 656c6f339d2fa57987b8c9d8e3f028c5aeba73e4 (patch) | |
tree | 9d55c96a4fb4a53e30433bb0e60c14b767549f99 /offsets.c | |
parent | f0b51be0f1d4535c323925df5b505c02b4faad8a (diff) |
Remove symbol tables from statement expressions
Diffstat (limited to 'offsets.c')
-rw-r--r-- | offsets.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,9 +71,9 @@ do_offsets (ast_t *ast, int offset, int level, int *max) { symbols = ast->statement.block.symbol_table; } - else if (ast_is (ast, AST_EXPRESSION, AST_STATEMENT_EXPRESSION)) + else if (ast_is (ast, AST_EXPRESSION, AST_BLOCK_EXPRESSION)) { - symbols = ast->expression.statement.symbol_table; + symbols = ast->expression.block.symbol_table; } else if (ast_is (ast, AST_DEFINITION, AST_CLASS_DEFINITION)) { |