Use hashable data type for FasmLine output.

Signed-off-by: Keith Rothman <[email protected]>
This commit is contained in:
Keith Rothman
2019-02-04 07:26:51 -08:00
parent ce482565fc
commit 45172ff467
+3 -3
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,
)