ee125251b0e321648abac86deb11d5797f2a2c39
braney
  Tue Nov 22 12:42:51 2011 -0800
treat EOF as a legal end of paragraph.  (#586)
diff --git src/lib/maf.c src/lib/maf.c
index 1082635..bab1820 100644
--- src/lib/maf.c
+++ src/lib/maf.c
@@ -127,31 +127,31 @@
 	    /* Parse name=val. */
 	    char *name = word;
 	    char *val = strchr(word, '=');
 	    if (val == NULL)
 	       errAbort("Missing = after %s line 1 of %s", name, lf->fileName);
 	    *val++ = 0;
 
 	    if (sameString(name, "score"))
 		ali->score = atof(val);
 	    }
 
 	/* Parse alignment components until blank line. */
 	for (;;)
 	    {
 	    if (!nextLine(lf, &line))
-		errAbort("Unexpected end of file %s", lf->fileName);
+		break;
 	    word = nextWord(&line);
 	    if (word == NULL)
 		break;
 	    if (sameString(word, "s") || sameString(word, "e"))
 		{
 		struct mafComp *comp;
 		int wordCount;
 		char *row[7];
 		int textSize;
 
 		/* Chop line up by white space.  This involves a few +-1's because
 		 * have already chopped out first word. */
 		row[0] = word;
 		wordCount = chopByWhite(line, row+1, ArraySize(row)-1) + 1; /* +-1 because of "s" */
 		lineFileExpectWords(lf, ArraySize(row), wordCount);