Conditionalize the yyinput/input() function definition the same way

as it's always been done in the prototype.

OK christos@
This commit is contained in:
hubertf 2009-12-15 22:46:04 +00:00
parent 92b36722e8
commit f092da9a2f

View File

@ -1,7 +1,7 @@
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
* $NetBSD: flex.skl,v 1.24 2009/07/20 21:13:28 christos Exp $
* $NetBSD: flex.skl,v 1.25 2009/12/15 22:46:04 hubertf Exp $
*/
#define FLEX_SCANNER
@ -989,9 +989,9 @@ void yyFlexLexer::yyunput( int c, register char* yy_bp )
%-
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput(void)
static int yyinput YY_PROTO(( void ))
#else
static int input(void)
static int input YY_PROTO(( void ))
#endif
%+
int yyFlexLexer::yyinput(void)