mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/ldgen_section_windows_line_ending_v4.1' into 'release/v4.1'
tools/ldgen: Fix parsing of section names on Windows (v4.1) See merge request espressif/esp-idf!11036
This commit is contained in:
commit
0cad7edf40
@ -582,8 +582,8 @@ class SectionsInfo(dict):
|
||||
|
||||
archive_path = (Literal("In archive").suppress() +
|
||||
White().suppress() +
|
||||
# trim the last character (:) from archive_path
|
||||
restOfLine.setResultsName("archive_path").setParseAction(lambda t: t[0][:-1]))
|
||||
# trim the colon and line ending characters from archive_path
|
||||
restOfLine.setResultsName("archive_path").setParseAction(lambda s, loc, toks: s.rstrip(":\n\r ")))
|
||||
parser = archive_path
|
||||
|
||||
results = None
|
||||
|
Loading…
Reference in New Issue
Block a user