From 6e5a05104bddbb8fc1b36d7149ecdf425a95a470 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Sat, 12 Jul 2014 12:48:05 +0200 Subject: [PATCH] Fixed copy and paste error (Coverity-ID: 1226262 Copy-paste error). --- lib/tokenize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index d53e7d8c9..b9893c366 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -3840,7 +3840,7 @@ void Tokenizer::dump(std::ostream &out) const out << " astParent=\"" << tok->astParent() << '\"'; if (tok->astOperand1()) out << " astOperand1=\"" << tok->astOperand1() << '\"'; - if (tok->astOperand1()) + if (tok->astOperand2()) out << " astOperand2=\"" << tok->astOperand2() << '\"'; out << "/>" << std::endl; }