Branch: Tag:

2014-01-04

2014-01-04 19:38:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improved robustness in low_describe_type().

It didn't like markers in the string range (which are
now generated for the sprintf type).

2419:    while(t->type == T_ASSIGN) {    t = t->cdr;    } - #ifdef PIKE_DEBUG +     if (t->type != T_INT) { -  Pike_fatal("Invalid node type (%d:%s) in string type.\n", -  t->type, get_name_of_type(t->type)); -  } - #endif /* PIKE_DEBUG */ +  low_describe_type(t); +  } else {    min = CAR_TO_INT(t);    max = CDR_TO_INT(t);    if (!min && max && !(max & (max+1))) {
2446:    my_strcat(buffer);    }    } +  }    my_strcat(")");    }    break;