[Patch, fortran] Rename gfc_code's expr4 field

Mikael Morin mikael.morin@sfr.fr
Wed Aug 5 20:53:00 GMT 2015


Le 05/08/2015 21:24, Steve Kargl a écrit :
> On Wed, Aug 05, 2015 at 08:54:21PM +0200, Mikael Morin wrote:
>>
>> +    /* LOCK/UNLOCK statements  */
>> +    struct
>> +    {
>> +      gfc_expr *acquired_lock;
>> +    }
>> +    lock;
>
> Just curious.  Why add a struct with a single member?
> I would have thought s/expr4/acquired_lock should suffice.
>
Well, I plan to move the other LOCK/UNLOCK arguments there, and I will 
need the struct to pack them together.

Mikael



More information about the Fortran mailing list