Skip to content

Commit 3c80446

Browse files
make mypy happy
1 parent 0f978c4 commit 3c80446

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tools/cases_generator/tier2_generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ def offset_of(
146146
assert uop.name.startswith("_GUARD_IP")
147147
# LPAREN
148148
next(tkn_iter)
149-
inst = next(tkn_iter)
150-
self.emit(f" OFFSET_OF_{inst.text};\n")
149+
tok = next(tkn_iter)
150+
self.emit(f" OFFSET_OF_{tok.text};\n")
151151
# RPAREN
152152
next(tkn_iter)
153153
# SEMI

0 commit comments

Comments
 (0)