apache / apache/nuttx

nxstyle: No error reported on long right hand comments

Open
#1,078 1 comment 0 reactions 0 assignees View on GitHub
Area: Standards Type: Bug
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

The following does not generate a long line error. It should, of course:

/****************************************************************************
* junk.c
****************************************************************************/

/****************************************************************************
* Included Files
****************************************************************************/

#include

/****************************************************************************
* Pre-processor Definitions
****************************************************************************/

#define A_PREPROCESSOR_DEFINITION 0 /* With a a very long, single-line right hand comment. No error is reported by nxstyle. */

/****************************************************************************
* Private Types
****************************************************************************/

struct a_struct_s
{
uint8_t f; /* This is a very long line in a single-line, right-hand comment. No error is reported by nxstyle. */
};

/****************************************************************************
* Public Functions
****************************************************************************/
Related: Issue #652

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.