} else {
c = currentMoveString[4] = ToLower(yytext[yyleng-1]);
}
- if(c == '+' && gameInfo.variant != VariantShogi) c = currentMoveString[4] = NULLCHAR; // + means check outside Shogi
+ if(c == '+' && gameInfo.variant != VariantShogi) currentMoveString[4] = NULLCHAR; // + means check outside Shogi
currentMoveString[5] = NULLCHAR;
}
* Pawn move, possibly with promotion
*/
DisambiguateClosure cl;
- int skip = 0; char c;
+ int skip = 0;
if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */
* Pawn capture, possibly with promotion, possibly ambiguous
*/
DisambiguateClosure cl;
- int skip1 = 0, skip2 = 0; char c;
+ int skip1 = 0, skip2 = 0;
if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */