summaryrefslogtreecommitdiff
path: root/src/rulebase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rulebase.cpp')
-rw-r--r--src/rulebase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rulebase.cpp b/src/rulebase.cpp
index dfb3f1d..7a53c9b 100644
--- a/src/rulebase.cpp
+++ b/src/rulebase.cpp
@@ -20,12 +20,15 @@
#include "rulebase.h"
+#include "lintmanager.h"
+
#include "localconsts.h"
RuleBase::RuleBase() :
file(),
line(-1)
{
+ lint.addRule(this);
}
void RuleBase::print(const std::string &text) const