aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
-rw-r--r--evaluate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/evaluate.c b/evaluate.c
index c39f9ec7..3567f702 100644
--- a/evaluate.c
+++ b/evaluate.c
@@ -1919,8 +1919,7 @@ static struct symbol *evaluate_postop(struct expression *expr)
return NULL;
}
- if ((class & TYPE_RESTRICT) && restricted_unop(expr->op, &ctype))
- unrestrict(expr, class, &ctype);
+ unrestrict(expr, class, &ctype);
if (class & TYPE_NUM) {
multiply = 1;