Allow arbitrary nesting of sub-variations in PGN input
[xboard.git] / pgntags.c
index 82dfc1d..202b0d9 100644 (file)
--- a/pgntags.c
+++ b/pgntags.c
@@ -250,7 +250,7 @@ ReplaceTags(tags, gameInfo)
     yynewstr(tags);
     for (;;) {
        yyboardindex = 0;
-       moveType = (ChessMove) yylex();
+       moveType = (ChessMove) Myylex();
        if (moveType == (ChessMove) 0) {
            break;
        } else if (moveType == PGNTag) {