Merge pull request #607 from litghost/list_to_tuple

Use hashable data types for FasmLine output.
This commit is contained in:
litghost 2019-02-04 07:37:20 -08:00 committed by GitHub
commit 161a563b69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,
)