diff options
author | Andy Wingo <wingo@pobox.com> | 2012-01-23 12:31:33 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-01-25 20:34:17 +0100 |
commit | 1ace4fbf3dcacee77540aaaa49e032bad9ed9e27 (patch) | |
tree | 6129daa01ae17cd9fdf17d43726da10dad87a5a8 /doc/ref/api-macros.texi | |
parent | 3d51e57cfb0404db568a6adfde2a346d3fd9907e (diff) | |
download | guile-1ace4fbf3dcacee77540aaaa49e032bad9ed9e27.tar.gz |
add syntax-module
* module/ice-9/psyntax.scm (syntax-module): New accessor for syntax
objects.
* module/ice-9/psyntax-pp.scm: Regenerate.
* module/ice-9/boot-9.scm: Declare syntax-module.
* doc/ref/api-macros.texi: Document it.
Diffstat (limited to 'doc/ref/api-macros.texi')
-rw-r--r-- | doc/ref/api-macros.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ref/api-macros.texi b/doc/ref/api-macros.texi index 02b5d5c8a..2b6f15a54 100644 --- a/doc/ref/api-macros.texi +++ b/doc/ref/api-macros.texi @@ -706,6 +706,11 @@ Return the source properties that correspond to the syntax object @var{x}. @xref{Source Properties}, for more information. @end deffn +@deffn {Scheme Procedure} syntax-module id +Return the name of the module whose source contains the identifier +@var{id}. +@end deffn + @deffn {Scheme Procedure} syntax-local-binding id Resolve the identifer @var{id}, a syntax object, within the current lexical environment, and return two values, the binding type and a |