mirror of https://github.com/ARMmbed/mbed-os.git
Parse section starts beginning with whitespace
parent
9efccffa02
commit
d9b3de3584
|
@ -131,6 +131,7 @@ class _GccParser(_Parser):
|
||||||
return value - A section name, if a new section was found, None
|
return value - A section name, if a new section was found, None
|
||||||
otherwise
|
otherwise
|
||||||
"""
|
"""
|
||||||
|
line = line.strip()
|
||||||
for i in self.ALL_SECTIONS:
|
for i in self.ALL_SECTIONS:
|
||||||
if line.startswith(i):
|
if line.startswith(i):
|
||||||
return i
|
return i
|
||||||
|
|
Loading…
Reference in New Issue