aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/depfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/depfile.py')
-rw-r--r--mesonbuild/depfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/depfile.py b/mesonbuild/depfile.py
index a8b4588..64b973f 100644
--- a/mesonbuild/depfile.py
+++ b/mesonbuild/depfile.py
@@ -33,7 +33,7 @@ def parse(lines: T.Iterable[str]) -> T.List[T.Tuple[T.List[str], T.List[str]]]:
out += c
escape = None
continue
- if c == '\\' or c == '$':
+ if c in {'\\', '$'}:
escape = c
continue
elif c in (' ', '\n'):