diff options
author | Ludovic Court`es | 2007-04-03 11:57:10 +0000 |
---|---|---|
committer | Ludovic Court`es | 2007-04-03 11:57:10 +0000 |
commit | 3c81338a82eaff0ffe9f0c4e5d879f98ac87bb2b (patch) | |
tree | 8361ad3c00c169ebf8329abdd8ecf122b133dcba /doc/user/char.skb | |
parent | 6d443f72cf20af3708f97aabbb3e0a02bab7825d (diff) | |
parent | ffd41b153e703042c117e9a491066f799608a425 (diff) | |
download | skribilo-3c81338a82eaff0ffe9f0c4e5d879f98ac87bb2b.tar.gz skribilo-3c81338a82eaff0ffe9f0c4e5d879f98ac87bb2b.tar.lz skribilo-3c81338a82eaff0ffe9f0c4e5d879f98ac87bb2b.zip |
Added support for source location tracking.
* src/guile/skribilo/ast.scm (<ast>): Added the `:loc' init-keyword.
* src/guile/skribilo/lib.scm: Re-export `invocation-location'.
(define-markup): Locally define `&invocation-location' for use by
markups.
(define-simple-markup): Initialize `loc'.
(define-simple-container): Likewise.
(%skribe-warn): New `col'. parameter.
(skribe-warning): Updated.
(skribe-warning/ast): Likewise.
* src/guile/skribilo/location.scm (<location>): Removed slot `pos'.
Added slot `column'. Export `location-column'.
(location-pos): Kept for compatibility.
(write): New method.
(invocation-location): New function.
git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-79
Diffstat (limited to 'doc/user/char.skb')
0 files changed, 0 insertions, 0 deletions