diff options
author | Andy Wingo <wingo@pobox.com> | 2010-02-16 21:35:57 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-02-16 21:35:57 +0100 |
commit | 3ef9fa53f9e2b5fc1d0419a94432318e9ca9d650 (patch) | |
tree | 6e9de0a1ce0d6ef367df8e6ccf5e6e47cd3385f5 /doc/tutorial | |
parent | 04af4c4c5221c082905d52eb5ad3829ed681d097 (diff) | |
download | guile-3ef9fa53f9e2b5fc1d0419a94432318e9ca9d650.tar.gz |
fix a bug in the tutorial
* doc/tutorial/guile-tut.texi (c_builtins.c): Fix a typo with an
undeclared variable. Thanks to Raimon Grau for the pointer. This
tutorial is quite out of date, though...
Diffstat (limited to 'doc/tutorial')
-rw-r--r-- | doc/tutorial/guile-tut.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/tutorial/guile-tut.texi b/doc/tutorial/guile-tut.texi index ed0b20210..dee302df9 100644 --- a/doc/tutorial/guile-tut.texi +++ b/doc/tutorial/guile-tut.texi @@ -34,7 +34,7 @@ @page @vskip 0pt plus 1filll -Copyright @copyright{} 1997, 1998, 2004, 2006 Free Software Foundation +Copyright @copyright{} 1997, 1998, 2004, 2006, 2010 Free Software Foundation Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -1203,6 +1203,7 @@ SCM c_sin(SCM s_x) SCM vector_test(SCM s_length) @{ SCM xvec; + unsigned long c_length; c_length = gh_scm2ulong(s_length); printf("requested length for vector: %ld\n", gh_scm2ulong(s_length)); |