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].

1981:    node **arg;    int argno;    for (argno = 0; (arg = my_get_arg(&_CDR(n), argno)); argno++) { -  if (match_types(object_type_string, (*arg)->type)) { +  if (((*arg)->type != zero_type_string) && +  match_types(object_type_string, (*arg)->type)) {    n->node_info |= OPT_SIDE_EFFECT;    n->tree_info |= OPT_SIDE_EFFECT;    return NULL;