From a868ba555156b1a3d0076f53f1da40f888c65886 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 19 Nov 2010 18:28:19 +0100 Subject: [PATCH] Make yyskipmoves also suppress examining of drop moves Not sure if this does any good, but it seemed illogical that this would happen in all other moves, but not drops. --- parser.l | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/parser.l b/parser.l index 48b94ff..88567ef 100644 --- a/parser.l +++ b/parser.l @@ -823,6 +823,9 @@ extern void CopyBoard P((Board to, Board from)); } [A-Za-z][@*][a-l][0-9] { + + if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ + /* Bughouse piece drop. */ currentMoveString[1] = '@'; currentMoveString[2] = yytext[2]; -- 1.7.0.4