diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-10-13 10:31:32 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-10-13 10:31:32 +0000 |
commit | 35bffd28c511f768df7821ed4dc1ef77a8619fe9 (patch) | |
tree | 9c222f6b74211f25c00d785c4d3d9eef076309bc | |
parent | 6f08b573dac365347c741dcb7388e9e85a29131f (diff) | |
download | FreeBSD-src-35bffd28c511f768df7821ed4dc1ef77a8619fe9.zip FreeBSD-src-35bffd28c511f768df7821ed4dc1ef77a8619fe9.tar.gz |
Don't define the input() function ifdef YY_NO_INPUT.
This was previously done for the input() function.
Submitted by: Norberto Lopes <nblopes.ml at gmail.com>
-rw-r--r-- | usr.bin/lex/flex.skl | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ %- |