Changeset 267 for soft/giet_vm/giet_xml/xml_parser.c
- Timestamp:
- Jan 13, 2014, 3:20:29 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_xml/xml_parser.c
r263 r267 463 463 464 464 ///////// get x coordinate 465 x = getIntValue(reader, "x", &ok); 465 task[task_index]->trdid = getIntValue(reader, "trdid", &ok); 466 #if XML_PARSER_DEBUG 467 printf(" x = %d\n", x); 468 #endif 469 if ( !ok ) 470 { 471 task[task_index]->trdid = task_loc_index; 472 printf("[XML WARNING] missing trdid (thread index) attribute " 473 "for task in vspace %d. Using value %d\n" 474 , vspace_index, task_loc_index); 475 } 476 477 ///////// get x coordinate 478 x = getIntValue(reader, "x", &ok); 466 479 #if XML_PARSER_DEBUG 467 480 printf(" x = %d\n", x); … … 475 488 476 489 ///////// get y coordinate 477 490 y = getIntValue(reader, "y", &ok); 478 491 #if XML_PARSER_DEBUG 479 492 printf(" y = %d\n", y);
Note: See TracChangeset
for help on using the changeset viewer.