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/04/25 13:42:29 UTC

[GitHub] [incubator-nuttx] patacongo commented on issue #652: NXStyle: Ignore alignments of block comments at right of code

patacongo commented on issue #652:
URL: https://github.com/apache/incubator-nuttx/issues/652#issuecomment-619381547


   Can you please generate a test case?  I created this file, junk.c:
   
       /****************************************************************************
        * junk.c
        ****************************************************************************/
       
       /****************************************************************************
        * Included Files
       ****************************************************************************/
       
       #include <stdint.h>
       
       /****************************************************************************
        * Private Types
        ****************************************************************************/
       
       struct a_struct_s
       {
         uint8_t f1; /* Long line in a single comment, OK. */
         uint8_t f2; /* Long line in a block comment,
                      * nxstyle complains.
                      */
       };
       
       /****************************************************************************
        * Public Functions
        ****************************************************************************/
       
   But nxstyle is completely happy with that... no complaints at all.  Nor have I ever seen a problem in the past.  So I am thinking that this is context specific problem.  So I think to resolve it, you will need to provide a full test file that shows the failure in context.
   
   Is there an existing file in the repository?
   
   


----------------------------------------------------------------
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