From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QjN0F-0001aG-2Q for garchives@archives.gentoo.org; Wed, 20 Jul 2011 02:59:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AD6421C08C; Wed, 20 Jul 2011 02:59:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D000721C08C for ; Wed, 20 Jul 2011 02:59:06 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 24FD31BC0E9 for ; Wed, 20 Jul 2011 02:59:06 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 559) id D869B2004B; Wed, 20 Jul 2011 02:59:04 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in app-portage/eclass-manpages/files: eclass-to-manpage.awk X-VCS-Repository: gentoo-x86 X-VCS-Files: eclass-to-manpage.awk X-VCS-Directories: app-portage/eclass-manpages/files X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: <20110720025904.D869B2004B@flycatcher.gentoo.org> Date: Wed, 20 Jul 2011 02:59:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 2cd07b938a37b9f0c5031e0a9cef6d97 vapier 11/07/20 02:59:04 Modified: eclass-to-manpage.awk Log: detect java tags and error out early to avoid excess warnings/errors Revision Changes Path 1.21 app-portage/eclass-manpages/files/eclass-to-manpage.= awk file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/eclass= -manpages/files/eclass-to-manpage.awk?rev=3D1.21&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/eclass= -manpages/files/eclass-to-manpage.awk?rev=3D1.21&content-type=3Dtext/plai= n diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/eclass= -manpages/files/eclass-to-manpage.awk?r1=3D1.20&r2=3D1.21 Index: eclass-to-manpage.awk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/app-portage/eclass-manpages/files/eclas= s-to-manpage.awk,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- eclass-to-manpage.awk 20 Jul 2011 02:56:01 -0000 1.20 +++ eclass-to-manpage.awk 20 Jul 2011 02:59:04 -0000 1.21 @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/eclass-manpages/files/ecl= ass-to-manpage.awk,v 1.20 2011/07/20 02:56:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/eclass-manpages/files/ecl= ass-to-manpage.awk,v 1.21 2011/07/20 02:59:04 vapier Exp $ =20 # This awk converts the comment documentation found in eclasses # into man pages for easier/nicer reading. @@ -326,6 +326,8 @@ } else if ($0 =3D=3D "# @DEAD") { eclass =3D "dead" exit(10) + } else if ($0 =3D=3D "# @eclass-begin") { + fail("java documentation not supported") } else if ($0 ~ /^# @/) warn("Unexpected tag in \"" state "\" state: " $0) } else if (state =3D=3D "funcvar") { @@ -345,7 +347,7 @@ # END { if (eclass =3D=3D "") - fail("eclass not documented yet (no @ECLASS found)"); + fail("eclass not documented yet (no @ECLASS found)") else if (eclass !=3D "dead") handle_footer() }