Unverified Commit d705599e authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

size.py: Do not try to parse escapes in regex

parent 1b8e1006
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ def main(size_executable, rom_sections, ram_sections):
    section_size = dict()

    for line in status.stdout.split("\n"):
        match = re.match("[.](\S+)\s+(\d+)", line)
        match = re.match(r"[.](\S+)\s+(\d+)", line)
        if match:
            section = match.group(1)
            size = int(match.group(2))