diff --git a/masm2c/gen.py b/masm2c/gen.py index 92f812e..8b7946a 100644 --- a/masm2c/gen.py +++ b/masm2c/gen.py @@ -454,7 +454,8 @@ def isrelativejump(label: Expression) -> bool: and label.children[0].children[0].data == "dollar" ) - def dump_globals(self): + def dump_globals(self) -> None: + """Dumps the global variables to a file.""" from masm2c.proc import Proc name = f"{self._namespace.lower()}.list" logging.info(f" *** Generating globals listing {name}")