mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +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:
parent
9897650f7a
commit
4ad56ed938
1 changed files with 6 additions and 6 deletions
|
@ -255,14 +255,14 @@ previous thirty years, it used a mechanism known as @dfn{source
|
|||
properties}.
|
||||
|
||||
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.
|
||||
|
||||
The way that source properties are stored means that Guile can only
|
||||
associate source properties with freshly allocated objects. This
|
||||
notably excludes individual symbols, keywords, characters, booleans, or
|
||||
small integers. This limitation finally motivated the switch to
|
||||
@code{read-syntax}.
|
||||
The way that this side table associates datums with source properties
|
||||
has a limitation, however: Guile can only associate source properties
|
||||
with freshly allocated objects. This notably excludes individual
|
||||
symbols, keywords, characters, booleans, or small integers. This
|
||||
limitation finally motivated the switch to @code{read-syntax}.
|
||||
|
||||
@deffn {Scheme Procedure} supports-source-properties? obj
|
||||
@deffnx {C Function} scm_supports_source_properties_p (obj)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue