Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1244 → Rev 1245

/demos/trunk/loader/lparser.c
475,11 → 475,29
res = find_break(pbuf,PAR_TIME, &time, &val);
if (res == PAR_FOUND) {
#ifdef PARSER_DEBUG
printf(",[%ld][%ld]\n",time.tv_sec,time.tv_nsec/1000);
printf(",[%ld][%ld],",time.tv_sec,time.tv_nsec/1000);
#endif
TIMESPEC_ASSIGN(&lc->tmin,&time);
} else par_error(line_num);
 
res = find_break(pbuf,PAR_TASK_NUMBER, &time, &val);
if (res == PAR_FOUND) {
#ifdef PARSER_DEBUG
printf(",[%d]\n",val);
#endif
lc->workload = val;
} else par_error(line_num);
res = find_break(pbuf,PAR_LOCAL_SCHEDULER, &time, &val);
if (res == PAR_FOUND) {
#ifdef PARSER_DEBUG
printf("LOCAL SCHEDULER = %d\n",val);
#endif
lc->local_scheduler = val;
} else par_error(line_num);
return 2;
 
}