You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/05/16 14:20:16 UTC

[GitHub] [incubator-nuttx] patacongo edited a comment on issue #1031: nxstyle: reports brace alignment problem on solitary blocks

patacongo edited a comment on issue #1031:
URL: https://github.com/apache/incubator-nuttx/issues/1031#issuecomment-627599925


   nxstyle expects all braces to align in vertical.  Indenting by two spaces vs. the usual for causes nxstyle to complete.  The coding standard is silent on this but does say that all of the braces should align vertically.
   
   When I encounter this complaint from nxstyle, I change the code as follows:
   
       void function(void)
       {
         .. code ..
           {
             ... code ...
           }
       }
   
   And nxstyle is happy.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org