summaryrefslogtreecommitdiff
path: root/tools/linguist/shared/profileevaluator.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-04-02 19:36:16 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-04-02 19:36:16 +0200
commit00f2031c60bc472544b509586ee31c643ab2e81d (patch)
treed812e2d5260f997a5f61ccad79aece0fcbfeb4bf /tools/linguist/shared/profileevaluator.cpp
parent2fb02e7b4a7937b8b215012790766078bf581e7c (diff)
downloadqt4-tools-00f2031c60bc472544b509586ee31c643ab2e81d.tar.gz
amend 3570e978058816745101a69b552ad9d07e349542 for master
Diffstat (limited to 'tools/linguist/shared/profileevaluator.cpp')
-rw-r--r--tools/linguist/shared/profileevaluator.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/linguist/shared/profileevaluator.cpp b/tools/linguist/shared/profileevaluator.cpp
index ec69156159..14355b3b3a 100644
--- a/tools/linguist/shared/profileevaluator.cpp
+++ b/tools/linguist/shared/profileevaluator.cpp
@@ -234,15 +234,15 @@ public:
ProFileEvaluator::Private::Private(ProFileEvaluator *q_)
: q(q_)
{
+ // Global parser state
m_prevLineNo = 0;
m_prevProFile = 0;
+
+ // Configuration, more or less
m_verbose = true;
- m_block = 0;
- m_commentItem = 0;
- m_syntaxError = 0;
- m_lineNo = 0;
- m_contNextLine = false;
m_cumulative = true;
+
+ // Evaluator state
m_updateCondition = false;
m_condition = ConditionFalse;
m_invertNext = false;
@@ -258,6 +258,7 @@ bool ProFileEvaluator::Private::read(ProFile *pro)
return false;
}
+ // Parser state
m_block = 0;
m_commentItem = 0;
m_contNextLine = false;