]> andersk Git - svn-all-fast-export.git/blobdiff - src/ruleparser.cpp
Make it a fatal error to have a malformed line in the rules file
[svn-all-fast-export.git] / src / ruleparser.cpp
index c59b44b0f64997a3202917fc450a4fbdf8e0c22a..3297d77f9820e80d97bd9f660b2864e253376b66 100644 (file)
@@ -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));
         }
     }
 }
This page took 0.025222 seconds and 4 git commands to generate.