This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 122f59b76157cf6f0fdaf2ecb7fb2763a2b106b0
Author: Alin Jerpelea <[email protected]>
AuthorDate: Sat Mar 20 18:06:53 2021 +0100

    tools; nxstyle: add exception for ascii.h definitions
    
    The following definitions are added as exceptions
    ASCII_a -> ASCII_z
    
    Signed-off-by: Alin Jerpelea <[email protected]>
---
 tools/nxstyle.c | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index 60db630..37efec7 100644
--- a/tools/nxstyle.c
+++ b/tools/nxstyle.c
@@ -234,6 +234,35 @@ static const char *g_white_list[] =
 
   "L_tmpnam",
 
+  /* Ref: ascii.h */
+
+  "ASCII_a",
+  "ASCII_b",
+  "ASCII_c",
+  "ASCII_d",
+  "ASCII_e",
+  "ASCII_f",
+  "ASCII_g",
+  "ASCII_h",
+  "ASCII_i",
+  "ASCII_j",
+  "ASCII_k",
+  "ASCII_l",
+  "ASCII_m",
+  "ASCII_n",
+  "ASCII_o",
+  "ASCII_p",
+  "ASCII_q",
+  "ASCII_r",
+  "ASCII_s",
+  "ASCII_t",
+  "ASCII_u",
+  "ASCII_v",
+  "ASCII_w",
+  "ASCII_x",
+  "ASCII_y",
+  "ASCII_z",
+
   NULL
 };
 

Reply via email to