Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2011 00:01:19 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228555 - head/lib/libipsec
Message-ID:  <201112160001.pBG01J4v076703@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Fri Dec 16 00:01:19 2011
New Revision: 228555
URL: http://svn.freebsd.org/changeset/base/228555

Log:
  In lib/libipsec/policy_token.l, use lex's standard "%option noinput"
  instead of hand-defining the YY_NO_INPUT macro.
  
  MFC after:	1 week

Modified:
  head/lib/libipsec/policy_token.l

Modified: head/lib/libipsec/policy_token.l
==============================================================================
--- head/lib/libipsec/policy_token.l	Thu Dec 15 23:47:36 2011	(r228554)
+++ head/lib/libipsec/policy_token.l	Fri Dec 16 00:01:19 2011	(r228555)
@@ -48,13 +48,13 @@
 
 #include "y.tab.h"
 #define yylval __libipsecyylval	/* XXX */
-#define YY_NO_INPUT
 
 int yylex(void);
 %}
 
 %option noyywrap
 %option nounput
+%option noinput
 
 /* common section */
 nl		\n



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