re PR fortran/67429 (Missing part of error messages.)
2015-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/67429 * error.c (gfc_clear_pp_buffer): Reset last_location, otherwise caret lines might be skipped when actually giving a diagnostic. From-SVN: r227500
This commit is contained in:
parent
547fba7e1f
commit
63019f0c1a
@ -1,3 +1,9 @@
|
||||
2015-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
|
||||
|
||||
PR fortran/67429
|
||||
* error.c (gfc_clear_pp_buffer): Reset last_location, otherwise
|
||||
caret lines might be skipped when actually giving a diagnostic.
|
||||
|
||||
2015-08-31 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
||||
|
||||
PR fortran/54833
|
||||
|
@ -757,6 +757,9 @@ gfc_clear_pp_buffer (output_buffer *this_buffer)
|
||||
pp->buffer = this_buffer;
|
||||
pp_clear_output_area (pp);
|
||||
pp->buffer = tmp_buffer;
|
||||
/* We need to reset last_location, otherwise we may skip caret lines
|
||||
when we actually give a diagnostic. */
|
||||
global_dc->last_location = UNKNOWN_LOCATION;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user