From c88f7b8dba3b52a44b6d12d223454e2d512c3c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20R=C3=B6hling?= Date: Tue, 8 Nov 2022 22:11:15 +0100 Subject: [PATCH] Fix parsing of nested generator expressions --- src/catkin_lint/cmake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/catkin_lint/cmake.py b/src/catkin_lint/cmake.py index ce8c59e..aff85e7 100644 --- a/src/catkin_lint/cmake.py +++ b/src/catkin_lint/cmake.py @@ -74,7 +74,7 @@ def _resolve_vars(s, var, env_var): return s -_find_genexp = re.compile(r'(?]+))>', re.IGNORECASE).search +_find_genexp = re.compile(r'(?]+))>', re.IGNORECASE).search # TODO We just replace most generator expressions by empty strings.