diff --git a/slothy/helper.py b/slothy/helper.py index 44dedaed..df37d6f9 100644 --- a/slothy/helper.py +++ b/slothy/helper.py @@ -520,6 +520,7 @@ def change_funcname(line): s = re.sub( f"{old_funcname}:", f"{new_funcname}:", s) s = re.sub( f"\\.global(\\s+){old_funcname}", f".global\\1{new_funcname}", s) s = re.sub( f"\\.type(\\s+){old_funcname}", f".type\\1{new_funcname}", s) + s = re.sub( f"\\.size(\\s+){old_funcname},(\\s*)\\.-{old_funcname}", f".size {new_funcname}, .-{new_funcname}", s) return line.copy().set_text(s) return [ change_funcname(s) for s in source ]