mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 21:05:31 +08:00
VATSIM data file parser "fixes"
- Limit the number of parser errors going to the log - stop parsing if no attributes can be obtained (otherwise we see too many parser messages)
This commit is contained in:
committed by
Mat Sutcliffe
parent
e997940be9
commit
299859646a
@@ -163,7 +163,7 @@ namespace BlackCore
|
||||
|
||||
//! Split line and assign values to their corresponding attribute names
|
||||
//! \remark attributes expected as lower case
|
||||
static const QMap<QString, QString> clientPartsToMap(const QString ¤tLine, const QStringList &clientSectionAttributes);
|
||||
static const QMap<QString, QString> clientPartsToMap(const QString ¤tLine, const QStringList &clientSectionAttributes, bool logInconsistency);
|
||||
|
||||
//! Get current section
|
||||
static Section currentLineToSection(const QString ¤tLine);
|
||||
|
||||
Reference in New Issue
Block a user