From fdee97318552980faaf321d7cadbcfae9a012b1f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 28 Jan 2008 12:58:24 +0100 Subject: Fix `output' error reporting. * src/guile/skribilo/output.scm (handle-output-error): Fix error-reporting for unresolved nodes when `location?'. --- src/guile/skribilo/output.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/guile/skribilo/output.scm b/src/guile/skribilo/output.scm index a33c040..23fc16a 100644 --- a/src/guile/skribilo/output.scm +++ b/src/guile/skribilo/output.scm @@ -1,7 +1,7 @@ ;;; output.scm -- Skribilo output stage. ;;; +;;; Copyright 2005, 2006, 2008 Ludovic Courtès ;;; Copyright 2003, 2004 Erick Gallesio - I3S-CNRS/ESSI -;;; Copyright 2005, 2006 Ludovic Courtès ;;; ;;; ;;; This program is free software; you can redistribute it and/or modify @@ -67,9 +67,9 @@ (format (current-error-port) "unresolved node: ~a~a~%" node (if (location? location) - (string-append " " - (location-file location) ":" - (location-line location)) + (format #f " ~a:~a" + (location-file location) + (location-line location)) "")))) ((output-writer-error? c) (format (current-error-port) "invalid writer: ~a~%" -- cgit v1.2.3