+2017-07-03 David Malcolm <dmalcolm@redhat.com>
+
+ * parser.c (enum required_token): Fix spelling of
+ RT_INTERATION to RT_ITERATION.
+ (cp_parser_iteration_statement): Likewise.
+ (cp_parser_required_error): Likewise.
+
2017-06-30 Jason Merrill <jason@redhat.com>
PR c++/81257 - ICE with invalid ::template.
RT_AT_THROW, /* @throw */
RT_SELECT, /* selection-statement */
- RT_INTERATION, /* iteration-statement */
+ RT_ITERATION, /* iteration-statement */
RT_JUMP, /* jump-statement */
RT_CLASS_KEY, /* class-key */
RT_CLASS_TYPENAME_TEMPLATE, /* class, typename, or template */
token_indent_info guard_tinfo;
/* Peek at the next token. */
- token = cp_parser_require (parser, CPP_KEYWORD, RT_INTERATION);
+ token = cp_parser_require (parser, CPP_KEYWORD, RT_ITERATION);
if (!token)
return error_mark_node;
case RT_SELECT:
cp_parser_error (parser, "expected selection-statement");
return;
- case RT_INTERATION:
+ case RT_ITERATION:
cp_parser_error (parser, "expected iteration-statement");
return;
case RT_JUMP: