diff options
author | Eevee (Lexy Munroe) <eevee.git@veekun.com> | 2016-08-24 16:05:49 -0700 |
---|---|---|
committer | Eevee (Lexy Munroe) <eevee.git@veekun.com> | 2016-08-24 16:05:49 -0700 |
commit | 39c0d6d94bddeff34293f72445fd9f28087960b6 (patch) | |
tree | 16e356634c0861425790aa51d57907220c583852 /pokemontools/preprocessor.py | |
parent | c71e7dd9778c7a2a563dbd1e780d79ea766a05d9 (diff) |
Fix enough py3 issues for pokeyellow to finish building
Mostly xrange (screw it, just use range), spurious tabs, and division.
Diffstat (limited to 'pokemontools/preprocessor.py')
-rw-r--r-- | pokemontools/preprocessor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemontools/preprocessor.py b/pokemontools/preprocessor.py index effbd2e..92b42b0 100644 --- a/pokemontools/preprocessor.py +++ b/pokemontools/preprocessor.py @@ -566,11 +566,11 @@ class Preprocessor(object): if show_original_lines: sys.stdout.write("; original_line: " + original_line) - # rgbasm can handle other macros too + # rgbasm can handle other macros too if "is_rgbasm_macro" in dir(macro): if macro.is_rgbasm_macro: sys.stdout.write(original_line) - return + return # certain macros don't need an initial byte written # do: all scripting macros |