GNU bug report logs -
#49911
[PATCH] api-control: Fix misprint in code example.
Previous Next
To reply to this bug, email your comments to 49911 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#49911
; Package
guile
.
(Fri, 06 Aug 2021 15:07:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alexandr Vityazev <avityazev <at> posteo.org>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Fri, 06 Aug 2021 15:07:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* doc/ref/api-control.texi (Simple Conditional Evaluation):
Correct the typo in the example unless form.
Delete trailing whitespaces.
---
doc/ref/api-control.texi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/ref/api-control.texi b/doc/ref/api-control.texi
index 5df5344c5..6c87811d0 100644
--- a/doc/ref/api-control.texi
+++ b/doc/ref/api-control.texi
@@ -154,7 +154,7 @@ documentation:
(define-syntax-rule (when test stmt stmt* ...)
(if test (begin stmt stmt* ...)))
-(define-syntax-rule (unless condition stmt stmt* ...)
+(define-syntax-rule (unless test stmt stmt* ...)
(if (not test) (begin stmt stmt* ...)))
@end example
@@ -1657,12 +1657,12 @@ scm_foo (SCM s1, SCM s2)
c_s1 = scm_to_locale_string (s1);
- /* Call 'free (c_s1)' when the dynwind context is left.
+ /* Call 'free (c_s1)' when the dynwind context is left.
*/
scm_dynwind_unwind_handler (free, c_s1, SCM_F_WIND_EXPLICITLY);
c_s2 = scm_to_locale_string (s2);
-
+
/* Same as above, but more concisely.
*/
scm_dynwind_free (c_s2);
@@ -2312,7 +2312,7 @@ causing a segmentation fault. Guile provides some macros to make this
easier.
@deftypefn Macro void SCM_ASSERT (int @var{test}, SCM @var{obj}, unsigned int @var{position}, const char *@var{subr})
-@deftypefnx Macro void SCM_ASSERT_TYPE (int @var{test}, SCM @var{obj}, unsigned int @var{position}, const char *@var{subr}, const char *@var{expected})
+@deftypefnx Macro void SCM_ASSERT_TYPE (int @var{test}, SCM @var{obj}, unsigned int @var{position}, const char *@var{subr}, const char *@var{expected})
If @var{test} is zero, signal a ``wrong type argument'' error,
attributed to the subroutine named @var{subr}, operating on the value
@var{obj}, which is the @var{position}'th argument of @var{subr}.
--
2.32.0
--
Alexandr Vityazev
This bug report was last modified 3 years and 144 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.