aboutsummaryrefslogtreecommitdiff
path: root/target/hexagon/hex_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'target/hexagon/hex_common.py')
-rwxr-xr-xtarget/hexagon/hex_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/hexagon/hex_common.py b/target/hexagon/hex_common.py
index 0200a66..9f9da81 100755
--- a/target/hexagon/hex_common.py
+++ b/target/hexagon/hex_common.py
@@ -55,7 +55,7 @@ def expand_macro_attribs(macro,allmac_re):
for submacro in l:
if not submacro: continue
if not macros[submacro]:
- raise Exception("Couldn't find macro: <%s>" % l)
+ raise Exception(f"Couldn't find macro: <{l}>")
macro.attribs |= expand_macro_attribs(
macros[submacro], allmac_re)
finished_macros.add(macro.key)
@@ -258,7 +258,7 @@ def is_idef_parser_enabled(tag):
return tag in idef_parser_enabled
def imm_name(immlett):
- return "%siV" % immlett
+ return f"{immlett}iV"
def read_semantics_file(name):
eval_line = ""