summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/lib/java/security
diff options
context:
space:
mode:
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-16 01:36:09 +0000
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-16 01:36:09 +0000
commit1e838f420d829f94f751e77aff0cf7873fc709ed (patch)
tree3ab2ddf89eac92b4a61685e2d4c4770e8b840c97 /libjava/classpath/lib/java/security
parent18143be085760c3f1b169603fb123cb3855a2295 (diff)
downloadppe42-gcc-1e838f420d829f94f751e77aff0cf7873fc709ed.tar.gz
ppe42-gcc-1e838f420d829f94f751e77aff0cf7873fc709ed.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167895 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/lib/java/security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud