ArneVogel/listudy

Potential bug in PGN parser?

Opened this issue · 0 comments

Hi, I have recently discovered listudy; this is exactly what I was looking for for a while. Many thanks for developing such a great tool!

One issue I found: If I upload a PGN files with the following content

  1. d4 d5 ({(A)} 1... Nf6) *

I get an error message from listudy.com:

"SyntaxError at line: 2, character: 12; Unexpected: "{"

In general, listudy doesn't seem to like comments before moves which start new variations. I don't know whether such comments are allowed according to the formal specification of PGN files (is there such a thing?), but ChessBase certainly generates such files.