2010-05-19 Shujing Zhao PR c++/18249 * parser.c (non_integral_constant): New enum. (name_lookup_error): New enum. (cp_parser_error): Use gmsgid as parameter. (cp_parser_name_lookup_error): Change the type of variable desired to name_lookup_error and put the diagnostic in the full sentences. Change caller. (cp_parser_non_integral_constant_expression): Change the type of the variable thing to non_integral_constant and put the diagnostics in full sentences. Change caller. (cp_parser_require): Put the diagnostics in full sentence. Change caller. (cp_parser_require_keyword): Likewise.