From 87042ce7237986bb895e533be53e159cf77aa36c Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Thu, 26 Sep 2024 16:08:00 -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 af0a936020c..9d8897d776c 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)