Parse section starts beginning with whitespace

pull/10469/head
Jimmy Brisson 2019-04-08 13:32:44 -05:00 committed by adbridge
parent 9efccffa02
commit d9b3de3584
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