(m)
| 84 | with open(path, encoding="utf-8") as file_: |
| 85 | |
| 86 | def load_include(m): |
| 87 | fname = m.group(1) |
| 88 | sub_path = os.path.join(os.path.dirname(path), fname) |
| 89 | with open(sub_path, encoding="utf-8") as file_: |
| 90 | for i, line in enumerate(file_, 1): |
| 91 | buf.append((i, line)) |
| 92 | return fname |
| 93 | |
| 94 | def run_buf(fname, is_include): |
| 95 | if not buf: |