public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/39859] duplicated and unhelpful error for "c:n" (parser)
       [not found] <bug-39859-4@http.gcc.gnu.org/bugzilla/>
@ 2010-12-16  1:36 ` froydnj at gcc dot gnu.org
  2011-09-29  5:03 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: froydnj at gcc dot gnu.org @ 2010-12-16  1:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39859

--- Comment #2 from Nathan Froyd <froydnj at gcc dot gnu.org> 2010-12-16 01:36:15 UTC ---
Author: froydnj
Date: Thu Dec 16 01:36:09 2010
New Revision: 167895

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167895
Log:
gcc/cp/
    PR c++/39859
    PR c++/44522
    PR c++/44523
    * parser.c (struct cp_parser): Add colon_corrects_to_scope_p field.
    (cp_parser_new): Initialize it.
    (cp_parser_nested_name_specifier_opt): Auto-correct colons to
    scopes if we are able to.
    (cp_parser_question_colon_clause): Disallow colon correction.
    (cp_parser_label_for_labeled_statement): Likewise.
    (cp_parser_range_for): Likewise.
    (cp_parser_enum_specifier): Likewise.
    (cp_parser_class_head): Likewise.
    (cp_parser_member_declaration): Likewise.

gcc/testsuite/
    PR c++/39859
    PR c++/44522
    PR c++/44523
    * g++.dg/parse/colon-autocorrect-1.C: New testcase.
    * g++.dg/parse/colon-autocorrect-2.C: New testcase.


Added:
    trunk/gcc/testsuite/g++.dg/parse/colon-autocorrect-1.C
    trunk/gcc/testsuite/g++.dg/parse/colon-autocorrect-2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/39859] duplicated and unhelpful error for "c:n" (parser)
       [not found] <bug-39859-4@http.gcc.gnu.org/bugzilla/>
  2010-12-16  1:36 ` [Bug c++/39859] duplicated and unhelpful error for "c:n" (parser) froydnj at gcc dot gnu.org
@ 2011-09-29  5:03 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-09-29  5:03 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39859

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|gcc-bugs at gcc dot gnu.org |
         Resolution|                            |FIXED

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-29 02:00:41 UTC ---
This is fixed.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/39859] duplicated and unhelpful error for "c:n" (parser)
  2009-04-23  0:41 [Bug c++/39859] New: C++: Duplicated and unhelpful error for "c:n" ian at airs dot com
@ 2009-04-29 13:22 ` manu at gcc dot gnu dot org
  0 siblings, 0 replies; 3+ messages in thread
From: manu at gcc dot gnu dot org @ 2009-04-29 13:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from manu at gcc dot gnu dot org  2009-04-29 13:21 -------
Confirmed.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2009-04-29 13:21:44
               date|                            |
            Summary|C++: Duplicated and         |duplicated and unhelpful
                   |unhelpful error for "c:n"   |error for "c:n" (parser)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39859


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-29  2:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-39859-4@http.gcc.gnu.org/bugzilla/>
2010-12-16  1:36 ` [Bug c++/39859] duplicated and unhelpful error for "c:n" (parser) froydnj at gcc dot gnu.org
2011-09-29  5:03 ` paolo.carlini at oracle dot com
2009-04-23  0:41 [Bug c++/39859] New: C++: Duplicated and unhelpful error for "c:n" ian at airs dot com
2009-04-29 13:22 ` [Bug c++/39859] duplicated and unhelpful error for "c:n" (parser) manu at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).