]> granicus.if.org Git - flex/commitdiff
fixed %option noinput
authorVern Paxson <vern@ee.lbl.gov>
Tue, 29 Oct 1996 14:43:59 +0000 (14:43 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Tue, 29 Oct 1996 14:43:59 +0000 (14:43 +0000)
flex.skl

index d7bd029396cb440c55bc457ffccd1fa455d8d0a8..ebe0c6fa79ea519e7b75804c18b9f0bbc68e20ef 100644 (file)
--- a/flex.skl
+++ b/flex.skl
@@ -970,6 +970,7 @@ void yyFlexLexer::yyunput( int c, register char* yy_bp )
 
 
 %-
+#ifndef YY_NO_INPUT
 #ifdef __cplusplus
 static int yyinput()
 #else
@@ -1045,7 +1046,9 @@ int yyFlexLexer::yyinput()
 
        return c;
        }
-
+%-
+#endif /* ifndef YY_NO_INPUT */
+%*
 
 %-
 #ifdef YY_USE_PROTOS