Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rooklift committed Oct 31, 2022
1 parent af9ae8c commit 47f4657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/61_pgn_parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function LoadPGNRecord(o) { // This can throw!
let [move, error] = node.board.parse_pgn(s);

if (error) {
DestroyTree(root);
DestroyTree(root); // Alternatively, we could just end the parse here and return what we've got so far?
throw `"${s}" -- ${error}`;
}

Expand Down

0 comments on commit 47f4657

Please sign in to comment.