This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [ADA PATCH] Fix Unwind_Exception struct layout on 64-bit



On Apr 28, 2004, at 04:15, Arnaud Charlet wrote:
OK, will a style fix (spaces needed around operators), thanks:

Not, for exponentiation operator, where it's actually preferred to omit spaces to emphasize operator priority. Note that all simple style rules are checked during bootstrap/library build, so no chance they can be violated accidentally.

+ type Unwind_Word is mod 2 ** System.Word_Size;


Snippet from coding-style.texi:
@item
Every operator must be surrounded by spaces, except for the
exponentiation operator.
@cindex Operators

@smallexample @c adanocomment
       E := A * B**2 + 3 * (C - D);
@end smallexample

Ulrich's original patch is just fine.


-Geert


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