From 39c0d6d94bddeff34293f72445fd9f28087960b6 Mon Sep 17 00:00:00 2001 From: "Eevee (Lexy Munroe)" Date: Wed, 24 Aug 2016 16:05:49 -0700 Subject: Fix enough py3 issues for pokeyellow to finish building Mostly xrange (screw it, just use range), spurious tabs, and division. --- pokemontools/preprocessor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pokemontools/preprocessor.py') 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 -- cgit v1.2.3