diff options
author | Mike Stump <mikestump@comcast.net> | 2011-02-13 10:02:30 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2011-02-13 10:02:30 +0000 |
commit | 88a3b649093d440125ae2547835eea6943bfab50 (patch) | |
tree | d7c3197ecf431aa96d0496c9039fafecf407d3b2 /gcc/cp/lex.c | |
parent | eb369a703fe9aa3eaa74948f65b272331251d6af (diff) | |
download | gcc-88a3b649093d440125ae2547835eea6943bfab50.zip gcc-88a3b649093d440125ae2547835eea6943bfab50.tar.gz gcc-88a3b649093d440125ae2547835eea6943bfab50.tar.bz2 |
lex.h: Plugify.
objcp:
* plugin/lex.h: Plugify.
cp:
* lex.c: Plugify.
* Make-lang.in (objcp/plugin/lex.h): Likewise.
From-SVN: r170104
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r-- | gcc/cp/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index 852c3a2..c8c49f1 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see #include "cpplib.h" #include "flags.h" #include "c-family/c-pragma.h" -#include "c-family/c-objc.h" +#include "objcp/plugin/lex.h" #include "output.h" #include "tm_p.h" #include "timevar.h" @@ -449,7 +449,7 @@ unqualified_name_lookup_error (tree name) } else { - if (!objc_diagnose_private_ivar (name)) + if (!PLUGIN_UNQUALIFIED_NAME_LOOKUP_ERROR (name)) { error ("%qD was not declared in this scope", name); suggest_alternatives_for (location_of (name), name); |