This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] Support for [...] style array constructors
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Richard E Maine <Richard dot Maine at nasa dot gov>,Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>,gcc-patches at gcc dot gnu dot org,Erik Edelmann <eedelman at acclab dot helsinki dot fi>
- Date: Tue, 19 Apr 2005 00:02:23 +0100
- Subject: Re: [gfortran] Support for [...] style array constructors
- Organization: CodeSourcery
- References: <20050418215227.GA21513@acclab.helsinki.fi> <426430F1.9030906@physik.uni-muenchen.de> <eb8e7716c50f0731a1c391de45551418@nasa.gov>
> I.e., in something like
>
> (/ [ ... ] /)
>
> you need to be back to looking for a "/)" to match the "(/" and not get
> thrown off by the nested "[]". Just an obvious kind of thing to put in
> the test.
It's also worth checking that we reject (/ [ ... /) ]
Paul