diff options
Diffstat (limited to 'src/rulebase.h')
-rw-r--r-- | src/rulebase.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rulebase.h b/src/rulebase.h index 1d237ee..4421291 100644 --- a/src/rulebase.h +++ b/src/rulebase.h @@ -66,6 +66,9 @@ class RuleBase bool getFlag() const A_WARN_UNUSED { return flag; } + void setRootDir(const std::string &dir) + { rootDir = dir; } + void terminateRule(); protected: @@ -81,6 +84,7 @@ class RuleBase std::string file; std::string ruleName; + std::string rootDir; int line; bool flag; }; |