summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-05-01 01:24:28 -0400
committerGlenn Smith <glenn@vector35.com>2024-05-02 17:12:33 -0400
commit0911568293968626737281193706755773769970 (patch)
tree0f78d67b98046e6fb75f7785f61d223e817150d2 /python
parentee9248c0f7144d9925e600be03f37fa155f51aef (diff)
Add address display mode options
Diffstat (limited to 'python')
-rw-r--r--python/architecture.py1
-rwxr-xr-xpython/examples/export_svg.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/python/architecture.py b/python/architecture.py
index dcc01e4f..ce69af86 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -2808,6 +2808,7 @@ class InstructionTextToken:
TextToken Used for anything not of another type.
CommentToken Comments
TypeNameToken **Not emitted by architectures**
+ AddressSeparatorToken **Not emitted by architectures**
========================== ============================================
"""
diff --git a/python/examples/export_svg.py b/python/examples/export_svg.py
index b2965c93..e9ce9299 100755
--- a/python/examples/export_svg.py
+++ b/python/examples/export_svg.py
@@ -258,7 +258,7 @@ def render_svg(function, offset, mode, form, showOpcodes, showAddresses, orignam
.BaseStructureNameToken, .BaseStructureSeparatorToken {{
fill: {rgbStr('BaseStructureNameColor')};
}}
- .TextToken, .BeginMemoryOperandToken, .EndMemoryOperandToken {{
+ .TextToken, .BeginMemoryOperandToken, .EndMemoryOperandToken, .AddressSeparatorToken {{
fill: {rgbStr('TextToken')};
}}
</style>