Set up a second layer to the SGF parser #226

Merged
savanni merged 4 commits from kifu/game-repr into main 2024-03-22 03:14:04 +00:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit a5990a2a30 - Show all commits

View File

@ -407,6 +407,9 @@ impl TryFrom<&parser::Node> for MoveNode {
} }
s.annotation = Some(*annotation) s.annotation = Some(*annotation)
} }
parser::Property::Territory(..) => {
eprintln!("not processing territory property");
}
parser::Property::Unknown(UnknownProperty { ident, value }) => { parser::Property::Unknown(UnknownProperty { ident, value }) => {
s.unknown_props.push((ident.clone(), value.clone())); s.unknown_props.push((ident.clone(), value.clone()));
} }