X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=parser.h;h=6b0b1cbd14cc4fc2b5030b5ae0b7e43ec072c423;hb=ad2b3cdfb2502c0cded2425a6fd1dd6f87b6c97e;hp=9e726de688046a9be4e6aede86e9132df012f7ed;hpb=91e0735ab1cbc57465e0252bc95b90bc2ab13caa;p=xboard.git diff --git a/parser.h b/parser.h index 9e726de..6b0b1cb 100644 --- a/parser.h +++ b/parser.h @@ -5,7 +5,7 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. * * Enhancements Copyright 2005 Alessandro Scotti * @@ -53,8 +53,8 @@ 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 int Myylex P((void)); // [HGM] yylex now globally invisible, all calls must use wrapper +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