Changeset 3463
- Timestamp:
- 08/09/07 17:04:31 (1 year ago)
- Files:
-
- branches/common-nfo/tools/nfotiser/parser.c (modified) (1 diff)
- branches/common-nfo/tools/nfotiser/pfile.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/common-nfo/tools/nfotiser/parser.c
r3462 r3463 318 318 } 319 319 } 320 if (entry->value) 321 printf(", value 『%s』\n", entry->value); 322 else 320 if (entry->value) { 321 const uint8_t *cp = entry->value; 322 323 fputs(", value\n\t『", stdout); 324 while (*cp) { 325 while (*cp && *cp != '\n') 326 fputc(*cp++, stdout); 327 fputs(*cp ? (cp++, "\n\t ") : "』\n", stdout); 328 } 329 } else 323 330 fputs(", no value\n", stdout); 324 331 } branches/common-nfo/tools/nfotiser/pfile.c
r3461 r3463 141 141 nument = 0; 142 142 CIRCLEQ_FOREACH(entry, parsed, e) { 143 printf("ent ry#%03zu: ", nument++);143 printf("ent #%03zu: ", nument++); 144 144 parser_dump(entry, kwords); 145 145 }


