From owner-svn-src-all@FreeBSD.ORG Fri Dec 16 00:01:20 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A86F106566B; Fri, 16 Dec 2011 00:01:20 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 09F838FC0A; Fri, 16 Dec 2011 00:01:20 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pBG01JSX076705; Fri, 16 Dec 2011 00:01:19 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBG01J4v076703; Fri, 16 Dec 2011 00:01:19 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201112160001.pBG01J4v076703@svn.freebsd.org> From: Dimitry Andric Date: Fri, 16 Dec 2011 00:01:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r228555 - head/lib/libipsec X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 00:01:20 -0000 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