Fix bug #2558 and add more comments

This commit is contained in:
inisider 2015-05-12 19:34:07 +03:00 committed by pancake
parent 0cc6f3a2c9
commit 9ae34bfceb

View File

@ -1416,7 +1416,15 @@ static void get_nesttype_print_type(void *type, char **name)
print_base_type(base_type, &tmp_name);
} else {
ti = &t->type_data;
ti->get_print_type(ti, &tmp_name);
if (ti->get_print_type != NULL) {
ti->get_print_type(ti, &tmp_name);
} else {
// TODO: need to investigate why this branch can be...
// this is possible because there is no support for
// parsing METHODLIST...
// need to investigate for this theme
printf("warning: strange for nesttype\n");
}
}
name_len = strlen("nesttype ");