From a5990a2a303b3207795ca58c975c2aecc44f6307 Mon Sep 17 00:00:00 2001 From: Savanni D'Gerinel Date: Thu, 21 Mar 2024 22:48:53 -0400 Subject: [PATCH] Ensure that the territory property is accepted --- sgf/src/game.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sgf/src/game.rs b/sgf/src/game.rs index ad90d78..1b6a0cb 100644 --- a/sgf/src/game.rs +++ b/sgf/src/game.rs @@ -407,6 +407,9 @@ impl TryFrom<&parser::Node> for MoveNode { } s.annotation = Some(*annotation) } + parser::Property::Territory(..) => { + eprintln!("not processing territory property"); + } parser::Property::Unknown(UnknownProperty { ident, value }) => { s.unknown_props.push((ident.clone(), value.clone())); }