aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-05-23 12:47:30 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-05-23 12:47:30 +0100
commit16f8992e7fec7b8d49fa423b565331b39b17b30d (patch)
treec44eda39cb730a64c17008745201ea483d5de90a /gcc/doc
parent5879ab5fafedc8f6f9bfe95a4cf8501b0df90edd (diff)
downloadgcc-16f8992e7fec7b8d49fa423b565331b39b17b30d.zip
gcc-16f8992e7fec7b8d49fa423b565331b39b17b30d.tar.gz
gcc-16f8992e7fec7b8d49fa423b565331b39b17b30d.tar.bz2
PR c++/90592 add missing word "scope" to __func__ docs
PR c++/90592 * doc/extend.texi (Function Names): Add missing word. From-SVN: r271554
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 7819766..777d974 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -10830,7 +10830,7 @@ evaluates to the empty string.
backward compatibility with old versions of GCC.
In C, @code{__PRETTY_FUNCTION__} is yet another name for
-@code{__func__}, except that at file (or, in C++, namespace scope),
+@code{__func__}, except that at file scope (or, in C++, namespace scope),
it evaluates to the string @code{"top level"}. In addition, in C++,
@code{__PRETTY_FUNCTION__} contains the signature of the function as
well as its bare name. For example, this program: