diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-03-21 15:15:42 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-03-21 15:15:42 -0500 |
commit | 4332a25bd5f6f80975f762d126e92064c756f7d4 (patch) | |
tree | 1d705b796c3e0b0d8d45b94376b6e236a8fd895a /preprocessor.py | |
parent | 1abb020335e89ace4f51e1c81902e9bbe95c6af2 (diff) |
fix docstring formatting everywhere
Diffstat (limited to 'preprocessor.py')
-rw-r--r-- | preprocessor.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/preprocessor.py b/preprocessor.py index cb09fb898..a2c0000e9 100644 --- a/preprocessor.py +++ b/preprocessor.py @@ -304,7 +304,8 @@ chars = { } def separate_comment(l): - """ Separates asm and comments on a single line. + """ + Separates asm and comments on a single line. """ asm = "" @@ -333,7 +334,8 @@ def separate_comment(l): return asm, comment def quote_translator(asm): - """ Writes asm with quoted text translated into bytes. + """ + Writes asm with quoted text translated into bytes. """ # split by quotes @@ -411,7 +413,8 @@ def make_macro_table(): macro_table = make_macro_table() def macro_test(asm): - """ Returns a matching macro, or None/False. + """ + Returns a matching macro, or None/False. """ # macros are determined by the first symbol on the line @@ -424,7 +427,8 @@ def macro_test(asm): return (None, None) def macro_translator(macro, token, line): - """ Converts a line with a macro into a rgbasm-compatible line. + """ + Converts a line with a macro into a rgbasm-compatible line. """ assert macro.macro_name == token, "macro/token mismatch" |