summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2018-03-16 00:09:26 -0400
committerAndy Wingo <wingo@pobox.com>2018-08-07 11:41:01 +0200
commit313b1c4469db8ead7b4c50611ce4504774ac657e (patch)
tree23778f19de008a4ddd2571713d142b6c7a0322fd
parent6708acbf66fb7e92b81853b34a183e93aebbbd2a (diff)
downloadguile-313b1c4469db8ead7b4c50611ce4504774ac657e.tar.gz
Fix a few typos in the manual.
Fixes <https://bugs.gnu.org/30276>. Reported by Matt Wette <matt.wette@gmail.com>. * doc/ref/api-macros.texi (Macro Expansion) doc/ref/vm.texi (Procedure Call and Return Instructions): Fix typos.
-rw-r--r--doc/ref/api-macros.texi4
-rw-r--r--doc/ref/vm.texi4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/ref/api-macros.texi b/doc/ref/api-macros.texi
index ef0621415..2e0036932 100644
--- a/doc/ref/api-macros.texi
+++ b/doc/ref/api-macros.texi
@@ -1,6 +1,6 @@
@c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual.
-@c Copyright (C) 1996, 1997, 2000-2004, 2009-2015
+@c Copyright (C) 1996, 1997, 2000-2004, 2009-2015, 2018
@c Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions.
@@ -1280,7 +1280,7 @@ macros will be @code{eval}'d in the top-level environment.
In this way @code{(macroexpand @var{foo})} is equivalent to
@code{(macroexpand @var{foo} 'e '(eval))}. The second argument is the
-mode (@code{'e} for ``eval'') and the second is the
+mode (@code{'e} for ``eval'') and the third is the
eval-syntax-expanders-when parameter (only @code{eval} in this default
setting).
diff --git a/doc/ref/vm.texi b/doc/ref/vm.texi
index ac3889f41..35de1da90 100644
--- a/doc/ref/vm.texi
+++ b/doc/ref/vm.texi
@@ -1,6 +1,6 @@
@c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual.
-@c Copyright (C) 2008,2009,2010,2011,2013,2015
+@c Copyright (C) 2008-2011, 2013, 2015, 2018
@c Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions.
@@ -719,7 +719,7 @@ is that arguments are passed and values returned on the stack.
For calls, both in tail position and in non-tail position, we require
that the procedure and the arguments already be shuffled into place
-befor the call instruction. ``Into place'' for a tail call means that
+before the call instruction. ``Into place'' for a tail call means that
the procedure should be in slot 0, relative to the @code{fp}, and the
arguments should follow. For a non-tail call, if the procedure is in
@code{fp}-relative slot @var{n}, the arguments should follow from slot