Use hashable data type for FasmLine output.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
Keith Rothman 2019-02-04 07:24:15 -08:00
parent ce482565fc
commit 45172ff467
1 changed files with 3 additions and 3 deletions

View File

@ -59,10 +59,10 @@ class FasmDisassembler(object):
)
yield fasm.FasmLine(
set_feature=None,
annotations=[
annotations=(
fasm.Annotation('missing_segbits', gridinfo.tile_type),
fasm.Annotation('exception', str(e)),
],
),
comment=None,
)
@ -153,6 +153,6 @@ class FasmDisassembler(object):
frame_offset, bit)))
yield fasm.FasmLine(
set_feature=None,
annotations=annotations,
annotations=tuple(annotations),
comment=None,
)