Changeset 3472
- Timestamp:
- 08/09/07 18:38:17 (1 year ago)
- Files:
-
- branches/common-nfo/tools/nfotiser/pfile.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/common-nfo/tools/nfotiser/pfile.c
r3471 r3472 189 189 dp = str_nsave(entry->value, cp - entry->value - 1); 190 190 /* read variable name */ 191 if (* ++cp != '{' /*}*/)191 if (*cp != '{' /*}*/) 192 192 goto copy_rest; 193 193 tp = ++cp; … … 199 199 /* variable name in cp, rest of string in tp */ 200 200 evar = parse_lookupbyname(head, cp); 201 tp[-1] = /*{*/ '}'; 201 202 cp = tp; 202 203 /* variable content in evar, rest of string in cp */ … … 308 309 309 310 iname = varnameck(__func__, name); 311 312 D(2, "parse_lookupbyname: try '%s' (orig '%s')\n", iname, name); 310 313 311 314 CIRCLEQ_FOREACH(entry, head, e) { … … 331 334 if (!strcmp(iname, ename)) 332 335 found = true; 336 D(2, "parse_lookupbyname: cmp '%s', %smatch\n", ename, 337 found ? "" : "no "); 333 338 free(ename); 334 339 if (found)


