mirror of
https://github.com/chesskit-app/chesskit-swift.git
synced 2026-05-16 11:50:35 +00:00
parsers_bug_fixes - added '½' as a supported result token character.
This commit is contained in:
@@ -246,7 +246,7 @@ private extension PGNParser.MoveTextParser {
|
||||
}
|
||||
|
||||
static func isResult(_ character: Character) -> Bool {
|
||||
["1", "2", "/", "-", "0", "*"].contains(character)
|
||||
["1", "2", "/", "-", "0", "*", "½"].contains(character)
|
||||
}
|
||||
|
||||
func isValid(character: Character) -> Bool {
|
||||
|
||||
Reference in New Issue
Block a user