Don't crash on negative numbers

This commit is contained in:
Simon Lindholm
2023-08-21 22:02:02 +02:00
parent 3f8a292ed0
commit 0f0145a8f2
+2 -2
View File
@@ -24,8 +24,8 @@ ign_branch_targets = True
skip_bl_delay_slots = False
skip_lines = 1
re_int = re.compile(r"[0-9]+")
re_int_full = re.compile(r"\b[0-9]+\b")
re_int = re.compile(r"-?[0-9]+")
re_int_full = re.compile(r"\b-?[0-9]+\b")
@dataclass