This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [fortran, patch] Fix display of locus when source contains wide characters
- From: FX <fxcoudert at gmail dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 4 Mar 2012 15:36:43 +0100
- Subject: Re: [fortran, patch] Fix display of locus when source contains wide characters
- Authentication-results: mr.google.com; spf=pass (google.com: domain of fxcoudert@gmail.com designates 10.180.100.33 as permitted sender) smtp.mail=fxcoudert@gmail.com; dkim=pass header.i=fxcoudert@gmail.com
- References: <E2EDC251-E6A2-4C3D-9BC9-CE690CF5A2DD@gmail.com> <CABu31nOiVAT5LrcMxUefwnMa5WR8QWhMBp5ns+TNFvZVcNz6zw@mail.gmail.com>
> Looks OK to me except for:
>
>> - for (; i > 0; i--)
>> + for (; i > 0;)
>
> Might as well just make that a while loop.
Indeed! Committed with a while loop, thanks for the review!
FX