summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-01 22:45:22 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-01 22:45:22 +0000
commitdbb773648b318ebc771e8160d98eb8c7b1fdd001 (patch)
treead0bf7aae59aa1ed44c20a6b0cec08f7d67bd4e7
parentd3cb90b59986c5af9be901d30ba44d5022bedd85 (diff)
downloadppe42-gcc-dbb773648b318ebc771e8160d98eb8c7b1fdd001.tar.gz
ppe42-gcc-dbb773648b318ebc771e8160d98eb8c7b1fdd001.zip
* doc/extend.texi (Nested Functions): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94569 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/extend.texi6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 054b745832a..73540341738 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-01 Joseph S. Myers <joseph@codesourcery.com>
+
+ * doc/extend.texi (Nested Functions): Update.
+
2005-02-01 Richard Henderson <rth@redhat.com>
PR 19696
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 47eb8a3dc4b..eaea96e2245 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:
OpenPOWER on IntegriCloud