Skip to content

Commit

Permalink
more mypyc
Browse files Browse the repository at this point in the history
  • Loading branch information
x0r committed Apr 23, 2024
1 parent 8878da1 commit 91f59cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions masm2c/Token.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def find_tokens(expr: Any, lookfor: str) -> Union[list[str], list[lark.tree.Tree
if result := Token.find_tokens(expr[i], lookfor):
l += result
if not l:
l = None
return None
return l


Expand Down Expand Up @@ -106,8 +106,8 @@ def __init__(self, *args, **kwargs) -> None:
self.element_number = 1
self.element_size_guess = 0
self.ptr_size = 0
self.mods = set()
self.registers = set()
self.mods: set[str] = set()
self.registers: set[str] = set()
self.segment_register = "ds"
self.segment_overriden = False
self.original_type = ""
Expand Down

0 comments on commit 91f59cc

Please sign in to comment.