summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/architecture.py1
-rwxr-xr-xpython/examples/export_svg.py8
2 files changed, 8 insertions, 1 deletions
diff --git a/python/architecture.py b/python/architecture.py
index c979eacb..dcc01e4f 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -2795,6 +2795,7 @@ class InstructionTextToken:
IntegerToken Integers
KeywordToken **Not emitted by architectures**
LocalVariableToken **Not emitted by architectures**
+ StackVariableToken **Not emitted by architectures**
NameSpaceSeparatorToken **Not emitted by architectures**
NameSpaceToken **Not emitted by architectures**
OpcodeToken **Not emitted by architectures**
diff --git a/python/examples/export_svg.py b/python/examples/export_svg.py
index 4ff2106f..b2965c93 100755
--- a/python/examples/export_svg.py
+++ b/python/examples/export_svg.py
@@ -195,6 +195,9 @@ def render_svg(function, offset, mode, form, showOpcodes, showAddresses, orignam
font-size: 9pt;
fill: {rgbStr('TextToken')};
}}
+ .InstructionToken {{
+ fill: {rgbStr('InstructionColor')};
+ }}
.RegisterToken {{
fill: {rgbStr('RegisterColor')};
}}
@@ -208,6 +211,9 @@ def render_svg(function, offset, mode, form, showOpcodes, showAddresses, orignam
fill: {rgbStr('DataSymbolColor')};
}}
.LocalVariableToken, .ArgumentNameToken {{
+ fill: {rgbStr('LocalVariableColor')};
+ }}
+ .StackVariableToken {{
fill: {rgbStr('StackVariableColor')};
}}
.IndirectImportToken, .ImportToken, .ExternalSymbolToken {{
@@ -252,7 +258,7 @@ def render_svg(function, offset, mode, form, showOpcodes, showAddresses, orignam
.BaseStructureNameToken, .BaseStructureSeparatorToken {{
fill: {rgbStr('BaseStructureNameColor')};
}}
- .TextToken, .InstructionToken, .BeginMemoryOperandToken, .EndMemoryOperandToken {{
+ .TextToken, .BeginMemoryOperandToken, .EndMemoryOperandToken {{
fill: {rgbStr('TextToken')};
}}
</style>