bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc: style changes


From: Paul Eggert
Subject: Re: doc: style changes
Date: Thu, 15 Mar 2012 11:16:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1

On 03/15/2012 09:19 AM, Akim Demaille wrote:
> -  #if __STDC_VERSION__ < 199901 && ! defined __GNUC__ && ! defined inline
> -   #define inline
> +  #if __STDC_VERSION__ < 199901 && ! defined __GNUC__ \
> +      && ! defined inline

That change all looks good, except here I suggest this style:

  #if (__STDC_VERSION__ < 199901 && ! defined __GNUC__ \
       && ! defined inline)

as the parens make the code a bit easier to read, and make it
work better with Emacs autoindenting.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]