]> granicus.if.org Git - libexpat/commitdiff
make errors reported display more like GCC error messages, so editors
authorFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Fri, 28 Jan 2005 16:16:14 +0000 (16:16 +0000)
committerFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Fri, 28 Jan 2005 16:16:14 +0000 (16:16 +0000)
like Emacs can provide functions like "go to next error", etc.

expat/tests/minicheck.c

index 21cc8c7f681c129feccde5927ce0a5712a4b939a..25fbf858836b642bf9ded2cffe0d07ca686fa73a 100644 (file)
@@ -108,8 +108,8 @@ add_failure(SRunner *runner, int verbosity)
 {
     runner->nfailures++;
     if (verbosity >= CK_VERBOSE) {
-        printf("%s:%s:%d\n", _check_current_function,
-               _check_current_filename, _check_current_lineno);
+        printf("%s:%d: %s\n", _check_current_filename,
+               _check_current_lineno, _check_current_function);
     }
 }