Commit 009823c0 authored by Claude Paroz's avatar Claude Paroz

Skip commented lines when reading makefiles

parent 881ee06f
......@@ -192,6 +192,8 @@ class MakefileWrapper:
found = None
for line in self.content.splitlines():
line = line.strip()
if line.startswith('#'):
continue
if non_terminated_content:
line = non_terminated_content + " " + line
# Test if line is non terminated (end with \ or even quote count)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment