[PATCH] waf: Fix Python 3.12 escape sequences
chrisj at rtems.org
chrisj at rtems.org
Wed Nov 22 03:23:12 UTC 2023
From: Chris Johns <chrisj at rtems.org>
Updates #4968
---
wscript | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wscript b/wscript
index 69732d4e17..dd7fda7225 100755
--- a/wscript
+++ b/wscript
@@ -125,7 +125,7 @@ class Template(string.Template):
idpattern = "[_A-Za-z][_A-Za-z0-9:#]*"
-_VAR_PATTERN = re.compile("\$\{?(" + Template.idpattern + ")\}?$")
+_VAR_PATTERN = re.compile("\\$\\{?(" + Template.idpattern + ")\\}?$")
def _is_enabled_op_and(enabled, enabled_by):
--
2.37.1
More information about the devel
mailing list