From owner-svn-src-stable-9@FreeBSD.ORG Sat Dec 31 14:13:11 2011 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4E641065677; Sat, 31 Dec 2011 14:13:11 +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 AF30A8FC13; Sat, 31 Dec 2011 14:13:11 +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 pBVEDBvB067118; Sat, 31 Dec 2011 14:13:11 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBVEDB01067116; Sat, 31 Dec 2011 14:13:11 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201112311413.pBVEDB01067116@svn.freebsd.org> From: Dimitry Andric Date: Sat, 31 Dec 2011 14:13:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r229094 - stable/9/lib/libipsec X-BeenThere: svn-src-stable-9@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 14:13:11 -0000 Author: dim Date: Sat Dec 31 14:13:11 2011 New Revision: 229094 URL: http://svn.freebsd.org/changeset/base/229094 Log: MFC r228552: Define YY_NO_INPUT in lib/libipsec/policy_token.l, so lex's input() function does not get defined needlessly. MFC r228555: In lib/libipsec/policy_token.l, use lex's standard "%option noinput" instead of hand-defining the YY_NO_INPUT macro. Modified: stable/9/lib/libipsec/policy_token.l Directory Properties: stable/9/lib/libipsec/ (props changed) Modified: stable/9/lib/libipsec/policy_token.l ============================================================================== --- stable/9/lib/libipsec/policy_token.l Sat Dec 31 14:12:12 2011 (r229093) +++ stable/9/lib/libipsec/policy_token.l Sat Dec 31 14:13:11 2011 (r229094) @@ -54,6 +54,7 @@ int yylex(void); %option noyywrap %option nounput +%option noinput /* common section */ nl \n