mliebelt / pgn-viewer

Simple PGN viewer with the necessary features to display chess games
GNU General Public License v3.0
161 stars 44 forks source link

spaces after a half move before a NAG lead to an error #9

Closed mliebelt closed 8 years ago

mliebelt commented 8 years ago

The following example leads to an error: "26. f3 $4". You have to use instead: "26. f3$4" (without a whitespace in between).

See http://www.chessmail.de/forum/topic.html?key=cbe6a8b93c063f9ec&sv=6 for a<n example.

mliebelt commented 8 years ago

I will check if its easy to expand the grammar so that white space between half moves and NAGs are allowed, so the parser will be more robust.