diff options
author | Andy Wingo <wingo@pobox.com> | 2012-02-17 10:21:50 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-02-17 10:21:50 +0100 |
commit | 58565208bdfe7544f7e4da8762e4c331171f9876 (patch) | |
tree | b28ff26d75e226f4d8e45fe02378e650c843278d /doc/ref/api-debug.texi | |
parent | 2c84211e6317dacddfbda979ea67683e1d8fbdb4 (diff) | |
parent | cac24946da089e1e1fddf9c9dc7ae7dae9e29014 (diff) | |
download | guile-58565208bdfe7544f7e4da8762e4c331171f9876.tar.gz |
Merge remote-tracking branch 'local-2.0/stable-2.0'
Conflicts:
libguile/read.c
libguile/srcprop.c
module/ice-9/psyntax-pp.scm
Diffstat (limited to 'doc/ref/api-debug.texi')
-rw-r--r-- | doc/ref/api-debug.texi | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/ref/api-debug.texi b/doc/ref/api-debug.texi index c5fbe5629..dd2a3d19d 100644 --- a/doc/ref/api-debug.texi +++ b/doc/ref/api-debug.texi @@ -239,8 +239,8 @@ Guile's debugger can point back to the file and location where the expression originated. The way that source properties are stored means that Guile cannot -associate source properties with individual numbers, symbols, -characters, booleans, or keywords. This can be seen by typing +associate source properties with individual symbols, keywords, +characters, booleans, or small integers. This can be seen by typing @code{(xxx)} and @code{xxx} at the Guile prompt (where the variable @code{xxx} has not been defined): @@ -258,6 +258,12 @@ ERROR: Unbound variable: xxx In the latter case, no source properties were stored, so the error doesn't have any source information. +@deffn {Scheme Procedure} supports-source-properties? obj +@deffnx {C Function} scm_supports_source_properties_p (obj) +Return #t if source properties can be associated with @var{obj}, +otherwise return #f. +@end deffn + The recording of source properties is controlled by the read option named ``positions'' (@pxref{Scheme Read}). This option is switched @emph{on} by default. |