handle single-line ; comments
cicd / ci (push) Successful in 1m51s Details

main
Bel LaPointe 2024-12-12 11:34:00 -07:00
parent 5587429922
commit 23bd6e29c9
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@ func readTransactionName(r *bufio.Reader) (string, float64, string, bool, error)
return "", 0, "", false, nil
}
line = bytes.Split(line, []byte(";"))[0] // comment-free
fields := bytes.Fields(line)
isSet := false