Branch: Tag:

2010-11-18

2010-11-18 17:52:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The literal zero is a constant. Fixes [LysLysKOM 18811081].

1310:    */    copy_pike_type(res->type, type);    -  if(match_types(object_type_string, type) || -  match_types(program_type_string, type)) +  if((type != zero_type_string) && +  (match_types(object_type_string, type) || +  match_types(program_type_string, type)))    res->node_info |= OPT_SIDE_EFFECT;       res->tree_info |= n->tree_info;