diff options
-rw-r--r-- | src/guile/skribilo/lib.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/guile/skribilo/lib.scm b/src/guile/skribilo/lib.scm index ab39261..bbd4b54 100644 --- a/src/guile/skribilo/lib.scm +++ b/src/guile/skribilo/lib.scm @@ -1,6 +1,6 @@ ;;; lib.scm -- Utilities. -*- coding: iso-8859-1 -*- ;;; -;;; Copyright 2005, 2007, 2009, 2012, 2013 Ludovic Courtès <ludo@gnu.org> +;;; Copyright 2005, 2007, 2009, 2012, 2013, 2016 Ludovic Courtès <ludo@gnu.org> ;;; Copyright 2003, 2004 Erick Gallesio - I3S-CNRS/ESSI <eg@unice.fr> ;;; ;;; @@ -31,7 +31,9 @@ type-name new define-markup define-simple-markup - define-simple-container define-processor-markup) + define-simple-container define-processor-markup + + &invocation-location) ;; Re-exported because used in `define-markup'. :re-export (invocation-location) @@ -113,6 +115,9 @@ ;; that the macro captures its invocation source location using ;; `current-source-location'. + (define-syntax-parameter &invocation-location + (identifier-syntax #f)) + (define-syntax define-markup (lambda (s) (syntax-case s () |