summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-04-02 17:36:16 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-04-02 17:36:16 (GMT)
commit00f2031c60bc472544b509586ee31c643ab2e81d (patch)
treed812e2d5260f997a5f61ccad79aece0fcbfeb4bf /tools
parent2fb02e7b4a7937b8b215012790766078bf581e7c (diff)
downloadQt-00f2031c60bc472544b509586ee31c643ab2e81d.zip
Qt-00f2031c60bc472544b509586ee31c643ab2e81d.tar.gz
Qt-00f2031c60bc472544b509586ee31c643ab2e81d.tar.bz2
amend 3570e978058816745101a69b552ad9d07e349542 for master
Diffstat (limited to 'tools')
-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 ec69156..14355b3 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;