This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] Renaming operators on the USE statement


Steve Kargl wrote:
On Mon, Mar 05, 2007 at 12:56:29PM +0100, Tobias Burnus wrote:
"3.6 Renaming operators on the USE statement
In Fortran 2003, it is permissible to rename operators that are not
intrinsic operators:
USE MY_MODULE, OPERATOR(.MyAdd.) => OPERATOR(.ADD.)
This allows .MyAdd. to denote the operator .ADD. accessed from the module."

Bootstrapped and regression tested on x86_64-unknown-linux-gnu. Ok for
the trunk?

OK for trunk. Of course, you need a ChangeLog entry. :-)

This should be added to the list of supported Fortran 2003 features in gfortran.texi, too -- line 760 or thereabouts.


- Brooks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]