1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 12:20:26 +02:00

Fix up source properties section in manual

* doc/ref/api-debug.texi (Source Properties): Fix wordo, and adapt
text.
This commit is contained in:
Andy Wingo 2021-03-05 20:49:37 +01:00
parent 9897650f7a
commit 4ad56ed938

View file

@ -255,14 +255,14 @@ previous thirty years, it used a mechanism known as @dfn{source
properties}. properties}.
As Guile reads in Scheme code from file or from standard input, it can As Guile reads in Scheme code from file or from standard input, it can
record remembers the file name, line number and column number where each record the file name, line number and column number where each
expression begins in a side table. expression begins in a side table.
The way that source properties are stored means that Guile can only The way that this side table associates datums with source properties
associate source properties with freshly allocated objects. This has a limitation, however: Guile can only associate source properties
notably excludes individual symbols, keywords, characters, booleans, or with freshly allocated objects. This notably excludes individual
small integers. This limitation finally motivated the switch to symbols, keywords, characters, booleans, or small integers. This
@code{read-syntax}. limitation finally motivated the switch to @code{read-syntax}.
@deffn {Scheme Procedure} supports-source-properties? obj @deffn {Scheme Procedure} supports-source-properties? obj
@deffnx {C Function} scm_supports_source_properties_p (obj) @deffnx {C Function} scm_supports_source_properties_p (obj)