Parse section starts beginning with whitespace

pull/10348/head
Jimmy Brisson 2019-04-08 13:32:44 -05:00
parent 7ceb876e0d
commit 76226b2f24
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ class _GccParser(_Parser):
return value - A section name, if a new section was found, None
otherwise
"""
line = line.strip()
for i in self.ALL_SECTIONS:
if line.startswith(i):
return i