[PATCH v2 03/13] build: Fix identifier pattern

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jul 1 11:49:43 UTC 2022


Allow upper case characters in identifiers.

Update #4670.
---
 wscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wscript b/wscript
index 38910f2816..731d1402ff 100755
--- a/wscript
+++ b/wscript
@@ -112,7 +112,7 @@ class EnvWrapper(object):
 
 
 class Template(string.Template):
-    idpattern = "[_a-z][_a-z0-9:#]*"
+    idpattern = "[_A-Za-z][_A-Za-z0-9:#]*"
 
 
 def _is_enabled_op_and(enabled, enabled_by):
-- 
2.35.3



More information about the devel mailing list