* Massachusetts.
*
* Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006,
- * 2007, 2008, 2009 Free Software Foundation, Inc.
+ * 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
*
* Enhancements Copyright 2005 Alessandro Scotti
*
extern void yynewfile P((FILE *f));
extern void yynewstr P((char *s));
extern int yylex P((void));
-extern ChessMove yylexstr P((int boardIndex, char *s));
+extern ChessMove yylexstr P((int boardIndex, char *s, char *buf, int buflen));
extern char currentMoveString[];
extern int yyboardindex;
extern int yyskipmoves; /* If TRUE, all moves are reported as AmbiguousMove
extern char *yy_text; /* Needed because yytext can be either a char[]
or a (non-constant) char* */
extern int yyoffset P((void));
-extern signed char initialRights[BOARD_SIZE];
-extern signed char castlingRights[MAX_MOVES][BOARD_SIZE];
+extern signed char initialRights[BOARD_FILES];