46cb81c70fda4ee6e311000c052e2fe46f5cfff9 tdreszer Wed Apr 27 15:56:07 2011 -0700 Jim pointed out one location where continuation lines were not supported properly. diff --git src/lib/ra.c src/lib/ra.c index 9ac4968..b72a7e4 100644 --- src/lib/ra.c +++ src/lib/ra.c @@ -262,31 +262,31 @@ errAbort("Short name field line %d of %s", lf->lineIx, lf->fileName); /* Find ra hash associated with name, making up a new * one if need be. */ if ((ra = hashFindVal(hashOfHash, name)) == NULL) { ra = newHash(7); hashAdd(hashOfHash, name, ra); hashAdd(ra, "name", lmCloneString(ra->lm, name)); } /* Fill in fields of ra hash with data up to next * blank line or end of file. */ for (;;) { - if (!lineFileNext(lf, &line, NULL)) + if (!lineFileNextFull(lf, &line, NULL,NULL,NULL)) break; line = skipLeadingSpaces(line); if (line[0] == 0) break; if (line[0] == '#') continue; word = nextWord(&line); line = skipLeadingSpaces(line); if (line == NULL) line = ""; hel = hashLookup(ra, word); if (hel == NULL) hel = hashAdd(ra, word, lmCloneString(ra->lm, line)); else hel->val = lmCloneString(ra->lm, line);