------- Comment #15 from dodji at gcc dot gnu dot org 2008-07-11 12:55 ------- Subject: Bug 31754
Author: dodji Date: Fri Jul 11 12:54:22 2008 New Revision: 137716 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137716 Log: 2008-07-11 Dodji Seketeli <[EMAIL PROTECTED]> PR c++/31754 * pt.c, semantic.c: * semantic.c (qualified_name_lookup_error, finish_id_expression): add a location_t parameter so that error message can have a more accurate location. * cp-tree.h: updated prototype * pt.c (tsubst_qualified_id): use location in error messages. * parser.c (cp_parser_postfix_expression, cp_parser_objc_statement, cp_parser_trait_expr, cp_parser_token_is_class_key, cp_parser_uncommitted_to_tentative_parse_p, cp_parser_check_for_invalid_template_id, cp_parser_is_string_literal, cp_parser_error, cp_parser_name_lookup_error, cp_parser_simulate_error, cp_parser_check_decl_spec, cp_parser_check_decl_spec, cp_parser_non_integral_constant_expression, cp_parser_diagnose_invalid_type_name, cp_parser_parse_and_diagnose_invalid_type_name, cp_parser_require_pragma_eol, cp_parser_make_typename_type, cp_parser_string_literal, cp_parser_primary_expression, cp_parser_primary_expression, cp_parser_unqualified_id, cp_parser_nested_name_specifier_opt, cp_parser_postfix_expression, cp_parser_postfix_dot_deref_expression, cp_parser_new_expression, cp_parser_direct_new_declarator, cp_parser_builtin_offsetof, cp_parser_label_for_labeled_statement, cp_parser_statement_seq_opt, cp_parser_jump_statement, cp_parser_block_declaration, cp_parser_simple_declaration, cp_parser_decl_specifier_seq, cp_parser_function_specifier_opt, cp_parser_decltype, cp_parser_mem_initializer_list, cp_parser_mem_initializer, cp_parser_mem_initializer_id, cp_parser_template_parameter, cp_parser_type_parameter, cp_parser_template_id, cp_parser_template_name, cp_parser_template_argument): likewise. Added: trunk/gcc/testsuite/g++.dg/parse/error-column.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/parser.c trunk/gcc/cp/pt.c trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/parse/constructor1.C trunk/gcc/testsuite/g++.dg/parse/error1.C trunk/gcc/testsuite/g++.dg/parse/error10.C trunk/gcc/testsuite/g++.dg/parse/error11.C trunk/gcc/testsuite/g++.dg/parse/error12.C trunk/gcc/testsuite/g++.dg/parse/error13.C trunk/gcc/testsuite/g++.dg/parse/error14.C trunk/gcc/testsuite/g++.dg/parse/error15.C trunk/gcc/testsuite/g++.dg/parse/error16.C trunk/gcc/testsuite/g++.dg/parse/error17.C trunk/gcc/testsuite/g++.dg/parse/error18.C trunk/gcc/testsuite/g++.dg/parse/error19.C trunk/gcc/testsuite/g++.dg/parse/error2.C trunk/gcc/testsuite/g++.dg/parse/error20.C trunk/gcc/testsuite/g++.dg/parse/error21.C trunk/gcc/testsuite/g++.dg/parse/error22.C trunk/gcc/testsuite/g++.dg/parse/error23.C trunk/gcc/testsuite/g++.dg/parse/error24.C trunk/gcc/testsuite/g++.dg/parse/error25.C trunk/gcc/testsuite/g++.dg/parse/error26.C trunk/gcc/testsuite/g++.dg/parse/error27.C trunk/gcc/testsuite/g++.dg/parse/error28.C trunk/gcc/testsuite/g++.dg/parse/error29.C trunk/gcc/testsuite/g++.dg/parse/error3.C trunk/gcc/testsuite/g++.dg/parse/error30.C trunk/gcc/testsuite/g++.dg/parse/error31.C trunk/gcc/testsuite/g++.dg/parse/error4.C trunk/gcc/testsuite/g++.dg/parse/error5.C trunk/gcc/testsuite/g++.dg/parse/error6.C trunk/gcc/testsuite/g++.dg/parse/error7.C trunk/gcc/testsuite/g++.dg/parse/error8.C trunk/gcc/testsuite/g++.dg/parse/error9.C trunk/gcc/testsuite/g++.old-deja/g++.pt/niklas01a.C trunk/gcc/testsuite/lib/g++.exp -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31754