Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Updating HTML and word wrap

Ryan Kurtze3180a6c1c49
diff --git a/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml b/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml
index 7a8d2f09a4..9a0586612a 100644
--- a/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml
+++ b/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml
@@ -1560,9 +1560,10 @@ literal characters of the mnemonic.
In the above example, “bra” is treated as literal characters in the
resulting display string followed immediately, with no intervening
spaces, by the display string of the local
-symbol <emphasis>cc</emphasis> (resulting in an output like braeq or brane). Thus, even though <emphasis>cc</emphasis> is attached to the initial part of the mnemonic "bra",
-the whole constructor actually has three operands, denoted by the three
-identifiers <emphasis>cc</emphasis>, <emphasis>op1</emphasis>,
+symbol <emphasis>cc</emphasis> (resulting in an output like braeq or brane).
+Thus, even though <emphasis>cc</emphasis> is attached to the initial part of
+the mnemonic "bra", the whole constructor actually has three operands, denoted
+by the three identifiers <emphasis>cc</emphasis>, <emphasis>op1</emphasis>,
and <emphasis>op2</emphasis>.
</para>
<para>
diff --git a/GhidraDocs/languages/html/sleigh_constructors.html b/GhidraDocs/languages/html/sleigh_constructors.html
index 2591f07445..d13cc5064c 100644
--- a/GhidraDocs/languages/html/sleigh_constructors.html
+++ b/GhidraDocs/languages/html/sleigh_constructors.html
@@ -232,8 +232,8 @@ no such requirement.
<div class="titlepage"><div><div><h4 class="title">
<a name="sleigh_caret"></a>7.3.2. The '^' character</h4></div></div></div>
<p>
-The ‘^’ character in the display section is used to separate
-identifiers from other characters where there shouldn’t be white space
+The ‘^’ character in the display section is used to concatenate
+identifiers and character literals without inserting additional whitespace
in the disassembly display. This can be used in any manner but is
usually used to attach display characters from a local symbol to the
literal characters of the mnemonic.
@@ -247,8 +247,10 @@ literal characters of the mnemonic.
In the above example, “bra” is treated as literal characters in the
resulting display string followed immediately, with no intervening
spaces, by the display string of the local
-symbol <span class="emphasis"><em>cc</em></span>. Thus the whole constructor actually
-has three operands, denoted by the three
+symbol <span class="emphasis"><em>cc</em></span> (resulting in an output like
+braeq or brane). Thus, even though <span class="emphasis"><em>cc</em></span>
+is attached to the initial part of the mnemonic "bra", the whole constructor
+actually has three operands, denoted by the three
identifiers <span class="emphasis"><em>cc</em></span>, <span class="emphasis"><em>op1</em></span>,
and <span class="emphasis"><em>op2</em></span>.
</p>