From: H.G. Muller Date: Fri, 19 Nov 2010 17:28:19 +0000 (+0100) Subject: Make yyskipmoves also suppress examining of drop moves X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=a868ba555156b1a3d0076f53f1da40f888c65886;p=xboard.git 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. --- 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];