aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/qmake2cmake/qmake_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmake2cmake/qmake_parser.py b/src/qmake2cmake/qmake_parser.py
index 14e5dda..5f4e938 100755
--- a/src/qmake2cmake/qmake_parser.py
+++ b/src/qmake2cmake/qmake_parser.py
@@ -43,7 +43,7 @@ def fixup_comments(contents: str) -> str:
# care of it as well, as if the commented line didn't exist in the
# first place.
- contents = re.sub(r"(^|\n)[ \t]*#[^\n]*?\n", "\n", contents, re.DOTALL)
+ contents = re.sub(r"(^|\n)[ \t]*#[^\n]*?\n", "\n", contents, flags=re.DOTALL)
return contents