Skip to content
Snippets Groups Projects
Commit ba9e6dd5 authored by Nathan Froyd's avatar Nathan Froyd Committed by Nathan Froyd
Browse files

re PR c++/46890 (Failed to compile scummvm's player_v4a.cpp)


gcc/c-family/
	PR c++/46890
	* c-common.h (keyword_is_decl_specifier): Declare.
	* c-common.c (keyword_is_decl_specifier): Define.
	(keyword_is_function_specifier): New function.

gcc/cp/
	PR c++/46890
	* parser.c (cp_parser_class_specifier): Fix setting of
	want_semicolon.

gcc/testsuite/
	PR c++/46890
	* g++.dg/parser/semicolon3.C: Adjust.
	* g++.dg/parser/semicolon4.C: New testcase.
	* g++.dg/pr46890.C: New testcase.


Co-Authored-By: default avatarJakub Jelinek <jakub@redhat.com>

From-SVN: r169797
parent 4ba67a06
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment