Skip to content

Commit

Permalink
Fix tools/sym_comments.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Sep 26, 2024
1 parent 2408579 commit 87042ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sym_comments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 87042ce

Please sign in to comment.