summaryrefslogtreecommitdiff
path: root/offsets.c
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2007-07-22 13:24:31 -0400
committerSøren Sandmann <sandmann@redhat.com>2007-07-22 13:24:31 -0400
commit054f44ed91cdfe330f047930f3df7d357a9c8ed6 (patch)
treeb94a546a2df15c488441c96483daa62531dace0b /offsets.c
parent18f466354df9dd645c513f497db1663313b52a13 (diff)
Split unary expressions into a separate type
Diffstat (limited to 'offsets.c')
-rw-r--r--offsets.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/offsets.c b/offsets.c
index 5d53856..f55fd5a 100644
--- a/offsets.c
+++ b/offsets.c
@@ -38,14 +38,8 @@ offsets_expression (ast_expression_t *expr,
case AST_INT_LITERAL_EXPRESSION:
case AST_BOOL_LITERAL_EXPRESSION:
break;
-
- case AST_POSTFIX_DEC_EXPRESSION:
- case AST_POSTFIX_INC_EXPRESSION:
- case AST_PREFIX_INC_EXPRESSION:
- case AST_PREFIX_DEC_EXPRESSION:
- case AST_UNARY_MINUS_EXPRESSION:
- case AST_UNARY_PLUS_EXPRESSION:
- case AST_UNARY_NOT_EXPRESSION:
+
+ case AST_UNARY_EXPRESSION:
offsets_expression (expr->unary.expr, level);
break;