diff options
author | Thiago Macieira <thiago@cassini.local.lan> | 2007-12-24 11:55:12 -0200 |
---|---|---|
committer | Thiago Macieira <thiago@cassini.local.lan> | 2007-12-24 11:55:12 -0200 |
commit | 1deb8ac509c147da57d35183b3fa06a9ad36f76a (patch) | |
tree | adf2e18afbb388a1ca336d2d3919149f513909b5 /src | |
parent | 5539acb42d1b0b9a9f9b6c8153c1b821a0311d16 (diff) | |
download | svn2git-1deb8ac509c147da57d35183b3fa06a9ad36f76a.tar svn2git-1deb8ac509c147da57d35183b3fa06a9ad36f76a.tar.gz svn2git-1deb8ac509c147da57d35183b3fa06a9ad36f76a.tar.bz2 svn2git-1deb8ac509c147da57d35183b3fa06a9ad36f76a.tar.xz svn2git-1deb8ac509c147da57d35183b3fa06a9ad36f76a.zip |
Make it a fatal error to have a malformed line in the rules file
Diffstat (limited to 'src')
-rw-r--r-- | src/ruleparser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ruleparser.cpp b/src/ruleparser.cpp index c59b44b..3297d77 100644 --- a/src/ruleparser.cpp +++ b/src/ruleparser.cpp @@ -121,8 +121,7 @@ void Rules::load() match = Match(); match.rx = QRegExp(matchLine.cap(1), Qt::CaseSensitive, QRegExp::RegExp2); } else { - qWarning() << "Malformed line in configure file:" << origLine; - state = ReadingNone; + qFatal("Malformed line in rules file: %s", qPrintable(origLine)); } } } |