]> gcc.gnu.org Git - gcc.git/commit
parser.c (struct cp_parser_expression_stack_entry): Add location_t field.
authorPaolo Carlini <paolo.carlini@oracle.com>
Sat, 12 May 2012 08:41:29 +0000 (08:41 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 12 May 2012 08:41:29 +0000 (08:41 +0000)
commit498ad15e8ca3576ed912b6e0bf5bd954e21aae5c
tree7a51c8397aaffd62e9daad7cd15a348cb1e73167
parent819dc4613772c5cb207070666a61404b9c3a3797
parser.c (struct cp_parser_expression_stack_entry): Add location_t field.

/cp
2012-05-12  Paolo Carlini  <paolo.carlini@oracle.com>

* parser.c (struct cp_parser_expression_stack_entry): Add location_t
field.
(cp_parser_binary_expression): Rework to always update at the same
time tree_type and loc.
* call.c (print_z_candidate): Add location_t parameter.
(print_z_candidates, convert_like_real, joust): Adjust.

/testsuite
2012-05-12  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/parse/error47.C: New.

From-SVN: r187424
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/error47.C [new file with mode: 0644]
This page took 0.063331 seconds and 5 git commands to generate.