summaryrefslogtreecommitdiff
path: root/doc/ref
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2021-03-09 20:50:08 +0100
committerAndy Wingo <wingo@pobox.com>2021-03-09 20:50:08 +0100
commit5046385df8ca6ad6677bb1cfff6a77ec0448301d (patch)
tree2e8d0008ed1a56e216f56886c8359ff168efa3dd /doc/ref
parentc97e1fbb53d64925465ca3333dce511b06cff383 (diff)
downloadguile-5046385df8ca6ad6677bb1cfff6a77ec0448301d.tar.gz
Document syntax-sourcev
* NEWS: Add doc link. * doc/ref/api-macros.texi (Syntax Transformer Helpers): Document syntax-sourcev. * module/system/syntax.scm: Re-export syntax-sourcev.
Diffstat (limited to 'doc/ref')
-rw-r--r--doc/ref/api-macros.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/ref/api-macros.texi b/doc/ref/api-macros.texi
index 14e085210..cdb33df31 100644
--- a/doc/ref/api-macros.texi
+++ b/doc/ref/api-macros.texi
@@ -862,6 +862,13 @@ Return the name of the module whose source contains the identifier
@var{id}.
@end deffn
+@deffn {Scheme Procedure} syntax-sourcev stx
+Like @code{syntax-source}, but returns its result in a more compact
+@code{#(@var{filename} @var{line} @var{column})} format. This format is
+used as the internal representation of source locations for syntax
+objects.
+@end deffn
+
@deffn {Scheme Procedure} syntax-local-binding id [#:resolve-syntax-parameters?=#t]
Resolve the identifer @var{id}, a syntax object, within the current
lexical environment, and return two values, the binding type and a