diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2023-01-02 00:59:45 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-02 00:59:45 -0800 |
| commit | 6cc376bb2b30f40bb605220649d26a5f4b344010 (patch) | |
| tree | bcdc0e33824dc5fb9bb2f42582931886f85fd541 /tools | |
| parent | d075a082405fc81c188160c84691579f81564c17 (diff) | |
| parent | 78e8b01174ae77c59b1c33aa66efd99a2a7dbae9 (diff) | |
Merge pull request #236 from notyourav/catdoor
d_a_obj_catdoor first pass
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/decompctx.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/decompctx.py b/tools/decompctx.py index abf997e91f..ba22ef4796 100644 --- a/tools/decompctx.py +++ b/tools/decompctx.py @@ -39,7 +39,7 @@ def import_c_file(in_file) -> str: defines.add(guard_match[1]) print("Processing file", in_file) include_match = include_pattern.match(line.strip()) - if include_match: + if include_match and not include_match[1].endswith(".s"): out_text += f"/* \"{in_file}\" line {idx} \"{include_match[1]}\" */\n" out_text += import_h_file(include_match[1], os.path.dirname(in_file)) out_text += f"/* end \"{include_match[1]}\" */\n" |
