Prevent transmission of spurious promo char to other engine
authorH.G. Muller <h.g.muller@hccnet.nl>
Thu, 16 Sep 2010 15:38:35 +0000 (17:38 +0200)
committerArun Persaud <arun@nubati.net>
Fri, 17 Sep 2010 03:46:33 +0000 (20:46 -0700)
commit59a4f18b662ddb7174efd46e4c76fff3e5caa796
tree1f16c7d7657185fd29105899afb23d2eebac63f7
parentf766634577a899f7aa7dbcdddc90700538ab9cde
Prevent transmission of spurious promo char to other engine

The parser now strps off spurious promotion characters.
New move types "White/BlackNonPromotion" had to be introduced for this,
to indicate NormalMoves that could have been a promotion, to make sure
the '=' suffix of Shogi deferred promotions survives.
backend.c
common.h
moves.c
parser.c
parser.l