Skip to content

Commit

Permalink
[arch][arm] update stackusage script for python3
Browse files Browse the repository at this point in the history
The old regexp needed to be updated to remove a warning.
  • Loading branch information
travisg committed Sep 7, 2024
1 parent 7538a6d commit d9362e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm/stackusage
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import re

hexrule = re.compile("([0-9a-fA-F]+)")
hex2byterule = re.compile("([0-9a-fA-F]{4})")
hexcolonrule = re.compile("([0-9a-fA-F]+)\:")
symbolrule = re.compile("<([\._a-zA-Z]+[\._0-9a-zA-Z]*)>:")
insrule = re.compile("([a-zA-Z][\.a-zA-Z]*)")
hexcolonrule = re.compile("([0-9a-fA-F]+):")
symbolrule = re.compile("<([._a-zA-Z]+[._0-9a-zA-Z]*)>:")
insrule = re.compile("([a-zA-Z][.a-zA-Z]*)")

currsymbol = ""
curraddress = 0
Expand Down

0 comments on commit d9362e4

Please sign in to comment.