From 087fdd83b85dd894d5b895557a378bb01828d0ff Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 28 May 2019 13:47:14 -0400 Subject: Tags --- flowgraphnode.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'flowgraphnode.cpp') diff --git a/flowgraphnode.cpp b/flowgraphnode.cpp index 4a1729ff..2457ebb9 100644 --- a/flowgraphnode.cpp +++ b/flowgraphnode.cpp @@ -107,6 +107,7 @@ const vector& FlowGraphNode::GetLines() line.instrIndex = lines[i].instrIndex; line.highlight = lines[i].highlight; line.tokens = InstructionTextToken::ConvertInstructionTextTokenList(lines[i].tokens, lines[i].count); + line.tags = Tag::ConvertTagList(lines[i].tags, lines[i].tagCount); result.push_back(line); } @@ -126,6 +127,7 @@ void FlowGraphNode::SetLines(const vector& lines) buf[i].highlight = lines[i].highlight; buf[i].tokens = InstructionTextToken::CreateInstructionTextTokenList(lines[i].tokens); buf[i].count = lines[i].tokens.size(); + buf[i].tags = Tag::CreateTagList(lines[i].tags, &(buf[i].tagCount)); } BNSetFlowGraphNodeLines(m_object, buf, lines.size()); -- cgit v1.3.1