()
| 7 | |
| 8 | |
| 9 | def Main(): |
| 10 | root = pathlib.Path(__file__).resolve().parent.parent |
| 11 | parser = argparse.ArgumentParser() |
| 12 | parser.add_argument( |
| 13 | "files", |
| 14 | nargs="*", |
| 15 | default=[ |
| 16 | root.joinpath("Source/effects.cpp"), |
| 17 | root.joinpath("Source/itemdat.cpp"), |
| 18 | root.joinpath("Source/misdat.cpp"), |
| 19 | root.joinpath("Source/monstdat.cpp"), |
| 20 | root.joinpath("Source/objdat.cpp"), |
| 21 | root.joinpath("Source/spelldat.cpp"), |
| 22 | ], |
| 23 | ) |
| 24 | args = parser.parse_args() |
| 25 | |
| 26 | for file in args.files: |
| 27 | Process(file) |
| 28 | |
| 29 | |
| 30 | class LineState(enum.Enum): |
no test coverage detected