summaryrefslogtreecommitdiff
path: root/architecture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'architecture.cpp')
-rw-r--r--architecture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/architecture.cpp b/architecture.cpp
index a86d7256..e0617b93 100644
--- a/architecture.cpp
+++ b/architecture.cpp
@@ -100,7 +100,7 @@ InstructionTextToken::InstructionTextToken(BNInstructionTextTokenType t, BNInstr
InstructionTextToken::InstructionTextToken(const BNInstructionTextToken& token) :
type(token.type), text(token.text), value(token.value), width(token.width), size(token.size),
operand(token.operand), context(token.context), confidence(token.confidence), address(token.address),
- exprIndex(BN_INVALID_EXPR)
+ exprIndex(token.exprIndex)
{
typeNames.reserve(token.namesCount);
for (size_t j = 0; j < token.namesCount; j++)