Skip to content

Commit

Permalink
Fix parsing of nested generator expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
roehling committed Nov 8, 2022
1 parent 810e2ee commit c88f7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/catkin_lint/cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _resolve_vars(s, var, env_var):
return s


_find_genexp = re.compile(r'(?<!\\)\$<([a-z_0-9]+)(?::([^<>]+))>', re.IGNORECASE).search
_find_genexp = re.compile(r'(?<!\\)\$<([a-z_0-9]*)(?::([^<>]+))>', re.IGNORECASE).search


# TODO We just replace most generator expressions by empty strings.
Expand Down

0 comments on commit c88f7b8

Please sign in to comment.