array.c (match_subscript): Skip whitespaces before setting locus.
* array.c (match_subscript): Skip whitespaces before setting locus. * matchexp.c (match_level_1): Ditto. From-SVN: r180910
This commit is contained in:
parent
aa6ad95c05
commit
00b9bf8b7d
|
@ -1,3 +1,8 @@
|
||||||
|
2011-11-04 Mikael Morin <mikael@gcc.gnu.org>
|
||||||
|
|
||||||
|
* array.c (match_subscript): Skip whitespaces before setting locus.
|
||||||
|
* matchexp.c (match_level_1): Ditto.
|
||||||
|
|
||||||
2011-11-04 Mikael Morin <mikael@gcc.gnu.org>
|
2011-11-04 Mikael Morin <mikael@gcc.gnu.org>
|
||||||
|
|
||||||
* trans-intrinsic.c (gfc_conv_intrinsic_minmaxval): Set loop's
|
* trans-intrinsic.c (gfc_conv_intrinsic_minmaxval): Set loop's
|
||||||
|
|
|
@ -70,6 +70,7 @@ match_subscript (gfc_array_ref *ar, int init, bool match_star)
|
||||||
|
|
||||||
i = ar->dimen + ar->codimen;
|
i = ar->dimen + ar->codimen;
|
||||||
|
|
||||||
|
gfc_gobble_whitespace ();
|
||||||
ar->c_where[i] = gfc_current_locus;
|
ar->c_where[i] = gfc_current_locus;
|
||||||
ar->start[i] = ar->end[i] = ar->stride[i] = NULL;
|
ar->start[i] = ar->end[i] = ar->stride[i] = NULL;
|
||||||
|
|
||||||
|
|
|
@ -201,6 +201,7 @@ match_level_1 (gfc_expr **result)
|
||||||
locus where;
|
locus where;
|
||||||
match m;
|
match m;
|
||||||
|
|
||||||
|
gfc_gobble_whitespace ();
|
||||||
where = gfc_current_locus;
|
where = gfc_current_locus;
|
||||||
uop = NULL;
|
uop = NULL;
|
||||||
m = match_defined_operator (&uop);
|
m = match_defined_operator (&uop);
|
||||||
|
|
Loading…
Reference in New Issue