aboutsummaryrefslogtreecommitdiffstats
path: root/src/ruleparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ruleparser.h')
-rw-r--r--src/ruleparser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ruleparser.h b/src/ruleparser.h
index 1d561e0..e0e3116 100644
--- a/src/ruleparser.h
+++ b/src/ruleparser.h
@@ -35,6 +35,9 @@ public:
QString name;
QList<Branch> branches;
+ int lineNumber;
+
+ Repository() : lineNumber(0) { }
};
struct Match
@@ -45,8 +48,9 @@ public:
QString path;
int minRevision;
int maxRevision;
+ int lineNumber;
- Match() : minRevision(-1), maxRevision(-1) { }
+ Match() : minRevision(-1), maxRevision(-1), lineNumber(0) { }
};
Rules(const QString &filename);