diff options
-rwxr-xr-x | tools/moveconfig.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 253507999c..a0837140e9 100755 --- a/tools/moveconfig.py +++ b/tools/moveconfig.py @@ -408,6 +408,9 @@ def cleanup_one_header(header_path, patterns, options): matched = [] for i, line in enumerate(lines): + if i - 1 in matched and lines[i - 1][-2:] == '\\\n': + matched.append(i) + continue for pattern in patterns: if pattern.search(line): matched.append(i) |