PR c++/90592
* doc/extend.texi (Function Names): Add missing word.
Committed to trunk.
commit 85ff756ada9537ba8a24c41dad7e2f1c84c27f06
Author: Jonathan Wakely <[email protected]>
Date: Thu May 23 11:44:36 2019 +0100
PR c++/90592 add missing word "scope" to __func__ docs
PR c++/90592
* doc/extend.texi (Function Names): Add missing word.
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 78197661424..777d974588d 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: