From 7083852a1fc49818f7914711f61bce90ef9b8215 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Tue, 12 Dec 2023 05:52:47 -0500 Subject: [PATCH] Fix style --- tools/ncc/ncc.style | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ncc/ncc.style b/tools/ncc/ncc.style index 58d0ff94..3c228569 100644 --- a/tools/ncc/ncc.style +++ b/tools/ncc/ncc.style @@ -10,6 +10,7 @@ UnionName: '^\(anon|^[A-Z][a-zA-Z0-9]+$' VariableName: ScopePrefix: Global: 'g_' + Static: 's_' ClassMember: 'm_' StructMember: 'm_' DataTypePrefix: @@ -17,4 +18,4 @@ VariableName: Integer: '' Bool: '' Pointer: '' - Pattern: '^(unk0x[a-f0-9]{1,3}$|(?!unk).+[a-z0-9][a-zA-Z0-9]*)$' + Pattern: '^(unk0x[a-f0-9]{1,3}$|(?!unk).*[a-z0-9][a-zA-Z0-9]*)$'