svn commit: r213764 - head/usr.bin/lex

Rui Paulo rpaulo at FreeBSD.org
Wed Oct 13 10:31:32 UTC 2010


Author: rpaulo
Date: Wed Oct 13 10:31:32 2010
New Revision: 213764
URL: http://svn.freebsd.org/changeset/base/213764

Log:
  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>

Modified:
  head/usr.bin/lex/flex.skl

Modified: head/usr.bin/lex/flex.skl
==============================================================================
--- head/usr.bin/lex/flex.skl	Wed Oct 13 09:33:26 2010	(r213763)
+++ head/usr.bin/lex/flex.skl	Wed Oct 13 10:31:32 2010	(r213764)
@@ -979,6 +979,7 @@ void yyFlexLexer::yyunput( int c, char* 
 
 
 %-
+#ifndef YY_NO_INPUT
 #ifdef __cplusplus
 static int yyinput()
 #else
@@ -1054,6 +1055,7 @@ int yyFlexLexer::yyinput()
 
 	return c;
 	}
+#endif /* ifndef YY_NO_INPUT */
 
 
 %-


More information about the svn-src-head mailing list