On 11/03/2011 01:34 PM, Joseph S. Myers wrote:
> On Thu, 3 Nov 2011, Aldy Hernandez wrote:
>
>> +/* Parse a transaction attribute (GCC Extension).
>> +
>> + transaction-attribute:
>> + attributes
>> + [ [ any-word ] ]
>
> I don't see any syntax production comments including
> transaction-attribute. Please update the comments to include this in
> every case where it is permitted.
Ah, the comment in question is currently
__transaction_atomic attributes[opt] compound-statement
where that should be transaction-attributes[opt] instead.
Will fix.
> I take it that this is never used in a context where an expression might
> occur, so you don't have problems with ambiguity?
Correct. Always after a __transaction keyword and before a {.
r~