diff --git a/src/main/java/featurecat/lizzie/rules/SGFParser.java b/src/main/java/featurecat/lizzie/rules/SGFParser.java index aea2e7c6..d9cb75c3 100644 --- a/src/main/java/featurecat/lizzie/rules/SGFParser.java +++ b/src/main/java/featurecat/lizzie/rules/SGFParser.java @@ -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) { @@ -919,6 +923,7 @@ public static void addProperties(Map props, String propsStr) { } } break; + case ';': case ')': if (inTag) { tagContentBuilder.append(c); @@ -937,8 +942,6 @@ public static void addProperties(Map props, String propsStr) { tagBuilder = new StringBuilder(); addProperty(props, tag, tagContentBuilder.toString()); break; - case ';': - break; default: if (inTag) { if (c == '\\') {