diff options
author | Mikael Morin <mikael@gcc.gnu.org> | 2011-11-04 00:12:54 +0000 |
---|---|---|
committer | Mikael Morin <mikael@gcc.gnu.org> | 2011-11-04 00:12:54 +0000 |
commit | 00b9bf8b7def3842e0c41376887aa41a9cec5bc0 (patch) | |
tree | 1417a9179046e7b3b5786efebd656d57a78ec463 /gcc/fortran/array.c | |
parent | aa6ad95c057d748c351fc50cac9f710299e8be07 (diff) | |
download | gcc-00b9bf8b7def3842e0c41376887aa41a9cec5bc0.zip gcc-00b9bf8b7def3842e0c41376887aa41a9cec5bc0.tar.gz gcc-00b9bf8b7def3842e0c41376887aa41a9cec5bc0.tar.bz2 |
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
Diffstat (limited to 'gcc/fortran/array.c')
-rw-r--r-- | gcc/fortran/array.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/array.c b/gcc/fortran/array.c index 3e6b9d2..a1449fd 100644 --- a/gcc/fortran/array.c +++ b/gcc/fortran/array.c @@ -70,6 +70,7 @@ match_subscript (gfc_array_ref *ar, int init, bool match_star) i = ar->dimen + ar->codimen; + gfc_gobble_whitespace (); ar->c_where[i] = gfc_current_locus; ar->start[i] = ar->end[i] = ar->stride[i] = NULL; |