(m)
| 98 | with open(path, encoding="utf-8") as file_: |
| 99 | |
| 100 | def load_include(m): |
| 101 | fname = m.group(1) |
| 102 | sub_path = os.path.join(os.path.dirname(path), fname) |
| 103 | with open(sub_path, encoding="utf-8") as file_: |
| 104 | for i, line in enumerate(file_, 1): |
| 105 | buf.append((i, line)) |
| 106 | return fname |
| 107 | |
| 108 | def run_buf(fname, is_include): |
| 109 | if not buf: |