tools: nxstyle: add exception for X11 keysymdef

Add exception for XK_* Mixed Case defined by X11 keysymdef.h

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2021-04-03 17:37:27 +02:00 committed by Xiang Xiao
parent 787aca4f4e
commit f878390c6d
1 changed files with 10 additions and 36 deletions

View File

@ -201,6 +201,9 @@ static const char *g_white_prefix[] =
"ub8", /* Ref: include/fixedmath.h */
"ub16", /* Ref: include/fixedmath.h */
"ub32", /* Ref: include/fixedmath.h */
"ASCII_", /* Ref: include/nuttx/ascii.h */
"XK_", /* Ref: include/input/X11_keysymdef.h */
NULL
};
@ -234,46 +237,17 @@ 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",
/* Ref:
* nuttx/compiler.h
*/
/* Ref:
* nuttx/compiler.h
*/
"_Far",
"_Erom",
/* Ref:
* fs/nfs/rpc.h
* fs/nfs/nfs_proto.h
*/
/* Ref:
* fs/nfs/rpc.h
* fs/nfs/nfs_proto.h
*/
"CREATE3args",
"CREATE3resok",