summaryrefslogtreecommitdiff
path: root/src/rules/dump.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules/dump.cpp')
-rw-r--r--src/rules/dump.cpp19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/rules/dump.cpp b/src/rules/dump.cpp
index b4cec48..24b8706 100644
--- a/src/rules/dump.cpp
+++ b/src/rules/dump.cpp
@@ -22,9 +22,14 @@
registerRuleExt(dumpCpp, "(.+)[.]cpp")
-initRule(dumpCpp)
+startRule(dumpCpp)
{
- printRaw("Checking file: " + file);
+ printRaw("Start checking file: " + file);
+}
+
+endRule(dumpCpp)
+{
+ printRaw("End checking file: " + file);
}
parseLineRule(dumpCpp)
@@ -32,11 +37,17 @@ parseLineRule(dumpCpp)
print(data);
}
+
registerRuleExt(dumpH, "(.+)[.]h")
-initRule(dumpH)
+startRule(dumpH)
+{
+ printRaw("Start checking file: " + file);
+}
+
+endRule(dumpH)
{
- printRaw("Checking file: " + file);
+ printRaw("End checking file: " + file);
}
parseLineRule(dumpH)