src/lib/phyloTree.c 1.11

1.11 2009/06/24 03:25:31 galt
making more senseful error messages
Index: src/lib/phyloTree.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/phyloTree.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -B -U 4 -r1.10 -r1.11
--- src/lib/phyloTree.c	24 Jun 2009 01:19:55 -0000	1.10
+++ src/lib/phyloTree.c	24 Jun 2009 03:25:31 -0000	1.11
@@ -162,9 +162,9 @@
 
 tree = parseSubTree(&ptr);
 
 if (*ptr != ';')
-    errAbort("trees must terminated by ';'");
+    errAbort("expecting tree terminator ';', found '%s'", ptr);
 
 return tree;
 }