|
From: | anonymous |
Subject: | [Bug-XBoard] [bug #27799] fix for nested-nested-nested variations |
Date: | Sun, 25 Oct 2009 15:52:33 +0000 |
User-agent: | Opera/9.10 (X11; Linux i686; U; en) |
Follow-up Comment #4, bug #27799 (project xboard): Without guarantees this looks better: (([Ww](hite)?)|([Bb](lack)?))" "(([Mm]ates)|([Ww][io]n(s)?)).* { return (int) (ToUpper(yytext[0]) == 'W' ? WhiteWins : BlackWins); } (([Ww](hite)?)|([Bb](lack)?))" "(([Mm]ated)|([Ll]os[tes]+)).* { return (int) (ToUpper(yytext[0]) == 'W' ? BlackWins : WhiteWins); } It assumes, that "White mated" means "White got mated" and not "White mated his opponent". e.g.: at FICS "White checkmated" means white lost. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?27799> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |