|
|
@ -98,12 +98,12 @@ func ParseLine(inputStr string, previousLine LogLine) (logLine LogLine, errorMsg
|
|
|
|
|
|
|
|
|
|
|
|
//TODO: what happens when we have <> or when there are multiple comments
|
|
|
|
//TODO: what happens when we have <> or when there are multiple comments
|
|
|
|
//TODO: Refactor this! it is ugly
|
|
|
|
//TODO: Refactor this! it is ugly
|
|
|
|
comment, inputStr := getBraketedData(inputStr, COMMENT)
|
|
|
|
comment, inputStr := getBracketedData(inputStr, COMMENT)
|
|
|
|
if comment != "" {
|
|
|
|
if comment != "" {
|
|
|
|
logLine.Comment = comment
|
|
|
|
logLine.Comment = comment
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QSLmsg, inputStr := getBraketedData(inputStr, QSL)
|
|
|
|
QSLmsg, inputStr := getBracketedData(inputStr, QSL)
|
|
|
|
if QSLmsg != "" {
|
|
|
|
if QSLmsg != "" {
|
|
|
|
logLine.QSLmsg = QSLmsg
|
|
|
|
logLine.QSLmsg = QSLmsg
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -125,7 +125,7 @@ func ParseLine(inputStr string, previousLine LogLine) (logLine LogLine, errorMsg
|
|
|
|
logLine.RSTrcvd = defaultReport
|
|
|
|
logLine.RSTrcvd = defaultReport
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
errorMsg = errorMsg + "Double definitiion of RST"
|
|
|
|
errorMsg = errorMsg + "Double definition of RST"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -295,7 +295,7 @@ func ParseLine(inputStr string, previousLine LogLine) (logLine LogLine, errorMsg
|
|
|
|
|
|
|
|
|
|
|
|
// If the "wwff" keyword is used, skip it
|
|
|
|
// If the "wwff" keyword is used, skip it
|
|
|
|
if regexpIsWwffKeyWord.MatchString(element) {
|
|
|
|
if regexpIsWwffKeyWord.MatchString(element) {
|
|
|
|
// this keyword is not requiered anymore with FLE 3 and doesn't add any value
|
|
|
|
// this keyword is not required anymore with FLE 3 and doesn't add any value
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -308,7 +308,7 @@ func ParseLine(inputStr string, previousLine LogLine) (logLine LogLine, errorMsg
|
|
|
|
|
|
|
|
|
|
|
|
// If the "pota" keyword is used, skip it
|
|
|
|
// If the "pota" keyword is used, skip it
|
|
|
|
if regexpIsPotaKeyWord.MatchString(element) {
|
|
|
|
if regexpIsPotaKeyWord.MatchString(element) {
|
|
|
|
// this keyword is not requiered anymore with FLE 3 and doesn't add any value
|
|
|
|
// this keyword is not required anymore with FLE 3 and doesn't add any value
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -321,7 +321,7 @@ func ParseLine(inputStr string, previousLine LogLine) (logLine LogLine, errorMsg
|
|
|
|
|
|
|
|
|
|
|
|
// If the "sota" keyword is used, skip it
|
|
|
|
// If the "sota" keyword is used, skip it
|
|
|
|
if regexpIsSotaKeyWord.MatchString(element) {
|
|
|
|
if regexpIsSotaKeyWord.MatchString(element) {
|
|
|
|
// this keyword is not requiered anymore with FLE 3 and doesn't add any value
|
|
|
|
// this keyword is not required anymore with FLE 3 and doesn't add any value
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|