diff options
Diffstat (limited to 'evaluate.c')
-rw-r--r-- | evaluate.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3293,9 +3293,11 @@ static struct symbol *evaluate_generic_selection(struct expression *expr) return NULL; for (map = expr->map; map; map = map->next) { - if (!evaluate_symbol(map->type)) + struct symbol *stype = map->type; + + if (!evaluate_symbol(stype)) continue; - if (!type_selection(ctrl, map->type)) + if (!type_selection(ctrl, stype)) continue; res = map->expr; |