diff options
author | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-11-24 23:32:29 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-11-24 23:32:29 +0000 |
commit | a3c1f9efdb3a8507adba00fe24d67b7df7e3c54f (patch) | |
tree | 2c4e12dc2765003fb2fbc7f4ec6f43b79539a187 /gcc/cp/lex.c | |
parent | a3abe41c30c8f779e203452a0b31a33b825565c7 (diff) | |
download | gcc-a3c1f9efdb3a8507adba00fe24d67b7df7e3c54f.zip gcc-a3c1f9efdb3a8507adba00fe24d67b7df7e3c54f.tar.gz gcc-a3c1f9efdb3a8507adba00fe24d67b7df7e3c54f.tar.bz2 |
revert accidentally committed changes
From-SVN: r167130
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r-- | gcc/cp/lex.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index 9c6be41..c583d7d 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -450,10 +450,7 @@ unqualified_name_lookup_error (tree name) else { if (!objc_diagnose_private_ivar (name)) - { - error ("%qD was not declared in this scope", name); - suggest_alternatives_for (name); - } + error ("%qD was not declared in this scope", name); /* Prevent repeated error messages by creating a VAR_DECL with this NAME in the innermost block scope. */ if (current_function_decl) |