"Joel E. Denny" <[EMAIL PROTECTED]> writes:

> I would appreciate Paul Eggert's opinion on arguments with multiple 
> const's like this one:
>
>   const YYSTYPE * const yynlval
>
> I'm pretty sure he'll at least want to see the first const moved:
>
>   YYSTYPE const * const ynlval
>
> He may want to see the second const removed.

Yes to both cases, if it's a local variable or parameter.  I prefer
putting 'const' after the type it modifies, for consistency; and for
local vars I generally prefer omitting a final 'const' as it clutters
the code for too-small an advantage.

Sorry I haven't had time to read all the patches recently....


Reply via email to