diff --git a/.vscode/settings.json b/.vscode/settings.json index 287a19f..1f589bd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -29,10 +29,15 @@ "gindex", "Graphviz", "Haxe", + "hlasm", "hlbc", + "ISFALSE", "isort", + "ISTRUE", + "justfile", "labelfontsize", "labelloc", + "multitool", "mypy", "nassigns", "nbindings", @@ -52,6 +57,7 @@ "nregs", "nstrings", "ntypes", + "opargs", "pacman", "pdoc", "pindex", diff --git a/crashlink/__main__.py b/crashlink/__main__.py index 2987900..6c5a63c 100644 --- a/crashlink/__main__.py +++ b/crashlink/__main__.py @@ -195,7 +195,7 @@ def save_and_exit() -> None: os.unlink(file) return try: - with open(file, "r", encoding="utf-8") as f2: # whyyyy mypy, whyyyy??? + with open(file, "r", encoding="utf-8") as f2: # why mypy, why??? modified = f2.read() lines = modified.split("\n") diff --git a/crashlink/opcodes.py b/crashlink/opcodes.py index 4cc518b..a2c726d 100644 --- a/crashlink/opcodes.py +++ b/crashlink/opcodes.py @@ -299,5 +299,5 @@ Ret. 1 ``` -When writing opcodes in this format, seperate each argument to the opcode with a period. For opcodes that require lists, pass them in JSON format, e.g. `CallN. [reg, reg, reg, reg]`. +When writing opcodes in this format, separate each argument to the opcode with a period. For opcodes that require lists, pass them in JSON format, e.g. `CallN. [reg, reg, reg, reg]`. """