(filename: str)
| 25 | CodeDef = InstDef | LabelDef |
| 26 | |
| 27 | def prettify_filename(filename: str) -> str: |
| 28 | # Make filename more user-friendly and less platform-specific, |
| 29 | # it is only used for error reporting at this point. |
| 30 | filename = filename.replace("\\", "/") |
| 31 | if filename.startswith("./"): |
| 32 | filename = filename[2:] |
| 33 | if filename.endswith(".new"): |
| 34 | filename = filename[:-4] |
| 35 | return filename |
| 36 | |
| 37 | |
| 38 | BEGIN_MARKER = "// BEGIN BYTECODES //" |
no test coverage detected
searching dependent graphs…