From f5a8765ed9055b714420c61a01f2f75d74e5c1a1 Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Thu, 26 Sep 2024 16:10:11 -0400 Subject: [PATCH] Fix tools/sym_comments.py --- tools/sym_comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/sym_comments.py b/tools/sym_comments.py index 8ff8f86e9..12f98d6f6 100755 --- a/tools/sym_comments.py +++ b/tools/sym_comments.py @@ -34,7 +34,7 @@ def main(): cur_label = None for line in file: line = line.rstrip() - if (m = re.match(sym_def_rx, line)): + if (m := re.match(sym_def_rx, line)): sym, rest = m.group(1), m.group(2) if sym is None and rest is None: sym, rest = m.group(3), m.group(4)