diff options
author | Ludovic Court`es | 2007-04-03 09:27:59 +0000 |
---|---|---|
committer | Ludovic Court`es | 2007-04-03 09:27:59 +0000 |
commit | ffd41b153e703042c117e9a491066f799608a425 (patch) | |
tree | 015932f20209f791d255384559127fe6b2e36c28 /doc/user/src/api16.skb | |
parent | e6ba379fa65ff756d47cde9f545ceb285d355a16 (diff) | |
download | skribilo-ffd41b153e703042c117e9a491066f799608a425.tar.gz skribilo-ffd41b153e703042c117e9a491066f799608a425.tar.lz skribilo-ffd41b153e703042c117e9a491066f799608a425.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: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-38
Diffstat (limited to 'doc/user/src/api16.skb')
0 files changed, 0 insertions, 0 deletions