Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2010 10:31:32 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213764 - head/usr.bin/lex
Message-ID:  <201010131031.o9DAVWoQ080441@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */
 
 
 %-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010131031.o9DAVWoQ080441>