Merge branch 'bugfix/ldgen_section_windows_line_ending_v3.3' into 'release/v3.3'
tools/ldgen: Fix parsing of section names on Windows (v3.3) See merge request espressif/esp-idf!11037
This commit is contained in:
commit
1960d3c700
|
@ -609,8 +609,8 @@ class SectionsInfo(dict):
|
||||||
|
|
||||||
archive_path = (Literal("In archive").suppress() +
|
archive_path = (Literal("In archive").suppress() +
|
||||||
White().suppress() +
|
White().suppress() +
|
||||||
# trim the last character (:) from archive_path
|
# trim the colon and line ending characters from archive_path
|
||||||
restOfLine.setResultsName("archive_path").setParseAction(lambda t: t[0][:-1]))
|
restOfLine.setResultsName("archive_path").setParseAction(lambda s, loc, toks: s.rstrip(":\n\r ")))
|
||||||
parser = archive_path
|
parser = archive_path
|
||||||
|
|
||||||
results = None
|
results = None
|
||||||
|
|
Loading…
Reference in a new issue