/demos/trunk/loader/dosread.c |
---|
48,11 → 48,18 |
} |
pbuf += i+1; |
line_buf[i] = 0; |
res = line_parser(line_buf, line_num, total, ¤t); |
if (*start_loader_task == NULL) |
res = line_parser(line_buf, line_num, total, ¤t); |
else |
res = line_parser(line_buf, line_num, total, ¤t->next); |
if (res == 2) { |
total_loader_task++; |
if (*start_loader_task == NULL) *start_loader_task = current; |
current = current->next; |
if (*start_loader_task == NULL) |
*start_loader_task = current; |
else |
current = current->next; |
} |
} |