aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2005-02-01 22:45:22 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2005-02-01 22:45:22 +0000
commit475b6e22db0635ca0dfd0b9cac640ce9fd11690a (patch)
treead0bf7aae59aa1ed44c20a6b0cec08f7d67bd4e7 /gcc/doc
parent9d0202413bf3207ced6d89912eb38ca01f5fdad5 (diff)
downloadgcc-475b6e22db0635ca0dfd0b9cac640ce9fd11690a.zip
gcc-475b6e22db0635ca0dfd0b9cac640ce9fd11690a.tar.gz
gcc-475b6e22db0635ca0dfd0b9cac640ce9fd11690a.tar.bz2
* doc/extend.texi (Nested Functions): Update.
From-SVN: r94569
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 47eb8a3..eaea96e 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -1,4 +1,4 @@
-@c Copyright (C) 1988,1989,1992,1993,1994,1996,1998,1999,2000,2001,2002,2003,2004
+@c Copyright (C) 1988,1989,1992,1993,1994,1996,1998,1999,2000,2001,2002,2003,2004,2005
@c Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@@ -381,8 +381,8 @@ bar (int *array, int offset, int size)
@end smallexample
Nested function definitions are permitted within functions in the places
-where variable definitions are allowed; that is, in any block, before
-the first statement in the block.
+where variable definitions are allowed; that is, in any block, mixed
+with the other declarations and statements in the block.
It is possible to call the nested function from outside the scope of its
name by storing its address or passing the address to another function: