From owner-svn-src-projects@FreeBSD.ORG Fri May 10 19:13:57 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5EF2AF49; Fri, 10 May 2013 19:13:57 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 5178D226; Fri, 10 May 2013 19:13:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4AJDviO011398; Fri, 10 May 2013 19:13:57 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4AJDvIp011396; Fri, 10 May 2013 19:13:57 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201305101913.r4AJDvIp011396@svn.freebsd.org> From: Jung-uk Kim Date: Fri, 10 May 2013 19:13:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r250472 - projects/flex-sf/contrib/flex X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 May 2013 19:13:57 -0000 Author: jkim Date: Fri May 10 19:13:56 2013 New Revision: 250472 URL: http://svnweb.freebsd.org/changeset/base/250472 Log: Allow YY_NO_UNPUT to disable unput() for backward compatibility. Modified: projects/flex-sf/contrib/flex/flex.skl Modified: projects/flex-sf/contrib/flex/flex.skl ============================================================================== --- projects/flex-sf/contrib/flex/flex.skl Fri May 10 19:09:31 2013 (r250471) +++ projects/flex-sf/contrib/flex/flex.skl Fri May 10 19:13:56 2013 (r250472) @@ -1030,10 +1030,12 @@ extern int yywrap M4_YY_PARAMS( M4_YY_PR #endif %not-for-header +#ifndef YY_NO_UNPUT m4_ifdef( [[M4_YY_NO_UNPUT]],, [[ static void yyunput M4_YY_PARAMS( int c, char *buf_ptr M4_YY_PROTO_LAST_ARG); ]]) +#endif %ok-for-header %endif @@ -1808,6 +1810,7 @@ m4_ifdef( [[M4_YY_USES_REJECT]], %if-c-only +#ifndef YY_NO_UNPUT m4_ifdef( [[M4_YY_NO_UNPUT]],, [[ static void yyunput YYFARGS2( int,c, char *,yy_bp) @@ -1861,6 +1864,7 @@ m4_ifdef( [[M4_YY_USE_LINENO]], } %if-c-only ]]) +#endif /* ifndef YY_NO_UNPUT */ %endif %if-c-only