summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-25 00:56:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-25 00:56:52 +0300
commit2a9777006e034ba0fa1260355d282c434b0c3978 (patch)
tree750963035146497893e984de60db513523100248
parenta6f7e903c40088406d7f6024162e141366120fb1 (diff)
downloadmplint-2a9777006e034ba0fa1260355d282c434b0c3978.tar.gz
mplint-2a9777006e034ba0fa1260355d282c434b0c3978.tar.bz2
mplint-2a9777006e034ba0fa1260355d282c434b0c3978.tar.xz
mplint-2a9777006e034ba0fa1260355d282c434b0c3978.zip
Reset line number in rule reset function.
-rw-r--r--src/rulebase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rulebase.cpp b/src/rulebase.cpp
index 9010598..9cbf8bb 100644
--- a/src/rulebase.cpp
+++ b/src/rulebase.cpp
@@ -65,4 +65,5 @@ void RuleBase::terminateRule()
void RuleBase::init()
{
flag = true;
+ line = 0;
}