Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiraoka committed Mar 12, 2021
2 parents 8d89351 + 50a8181 commit 9d2ce94
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/java/featurecat/lizzie/rules/SGFParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,10 @@ private static BoardHistoryList parseValue(
}
break;
case ';':
if (inProp) {
// support C[a;b;c;]
tagContentBuilder.append(c);
}
break;
default:
if (subTreeDepth > 1 && !isMultiGo) {
Expand Down Expand Up @@ -919,6 +923,7 @@ public static void addProperties(Map<String, String> props, String propsStr) {
}
}
break;
case ';':
case ')':
if (inTag) {
tagContentBuilder.append(c);
Expand All @@ -937,8 +942,6 @@ public static void addProperties(Map<String, String> props, String propsStr) {
tagBuilder = new StringBuilder();
addProperty(props, tag, tagContentBuilder.toString());
break;
case ';':
break;
default:
if (inTag) {
if (c == '\\') {
Expand Down

0 comments on commit 9d2ce94

Please sign in to comment.