Skip to content
Snippets Groups Projects
Commit f4abade9 authored by Giovanni Bajo's avatar Giovanni Bajo
Browse files

parser.c (cp_parser_template_id): Parse tentatively `[:' after a template name...

parser.c (cp_parser_template_id): Parse tentatively `[:' after a template name as it was `<::' (digraph typo).

	* parser.c (cp_parser_template_id): Parse tentatively `[:' after a
	template name as it was `<::' (digraph typo).
	(cp_parser_nth_token_starts_template_argument_list_p): New function.
	(cp_parser_id_expression): Use it.
	(cp_parser_nested_name_specifier_opt): Likewise.
	(cp_parser_template_name): Likewise.
	(cp_parser_class_name): Likewise.
	(cp_lexer_get_preprocessor_token): Use c_lex_with_flags.

From-SVN: r76845
parent 7625e73d
No related branches found
No related tags found
Loading
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