From 35bffd28c511f768df7821ed4dc1ef77a8619fe9 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Wed, 13 Oct 2010 10:31:32 +0000 Subject: Don't define the input() function ifdef YY_NO_INPUT. This was previously done for the input() function. Submitted by: Norberto Lopes --- usr.bin/lex/flex.skl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.bin') diff --git a/usr.bin/lex/flex.skl b/usr.bin/lex/flex.skl index 2111711..69d9ca2 100644 --- a/usr.bin/lex/flex.skl +++ b/usr.bin/lex/flex.skl @@ -979,6 +979,7 @@ void yyFlexLexer::yyunput( int c, char* yy_bp ) %- +#ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput() #else @@ -1054,6 +1055,7 @@ int yyFlexLexer::yyinput() return c; } +#endif /* ifndef YY_NO_INPUT */ %- -- cgit v1.1