Changeset 182 for soft/giet_vm


Ignore:
Timestamp:
Jul 26, 2012, 7:28:07 PM (12 years ago)
Author:
karaoui
Message:

updating xml_parser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/xml/xml_parser.c

    r181 r182  
    899899
    900900    //////// get type attribute
    901     char *type_str = getStringValue(reader, "type", &ok);
    902 #if XML_PARSER_DEBUG
    903 printf("        type = %s\n", type_str);
    904 #endif
    905     if (ok && (strcmp(type_str, "ELF") == 0))
     901    str = getStringValue(reader, "type", &ok);
     902#if XML_PARSER_DEBUG
     903printf("        type = %s\n", str);
     904#endif
     905    if (ok && (strcmp(str, "ELF") == 0))
    906906    {
    907907        vobj[vobj_index]->type = VOBJ_TYPE_ELF;
Note: See TracChangeset for help on using the changeset viewer.