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 1QCVYX-0000xD-LJ for garchives@archives.gentoo.org; Wed, 20 Apr 2011 11:26:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADA3E1C01A; Wed, 20 Apr 2011 11:26:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 813CD1C019 for ; Wed, 20 Apr 2011 11:26:12 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 203311B405D for ; Wed, 20 Apr 2011 11:26:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 1A0A58022A for ; Wed, 20 Apr 2011 11:26:11 +0000 (UTC) From: "Petteri Räty" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petteri Räty" Message-ID: <806405efb29840b6d7eff3af5ec6dd41762d9f60.betelgeuse@gentoo> Subject: [gentoo-commits] proj/libbash:master commit in: bashast/ X-VCS-Repository: proj/libbash X-VCS-Files: bashast/bashast.g X-VCS-Directories: bashast/ X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: 806405efb29840b6d7eff3af5ec6dd41762d9f60 Date: Wed, 20 Apr 2011 11:26:11 +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: e328962186098be1bd97afd871645f25 commit: 806405efb29840b6d7eff3af5ec6dd41762d9f60 Author: Petteri R=C3=A4ty petteriraty eu> AuthorDate: Sat Apr 16 19:22:14 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Wed Apr 20 11:22:36 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D806405ef Parser: fix warnings from command_sub rule --- bashast/bashast.g | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bashast/bashast.g b/bashast/bashast.g index d0b9926..b69d2c5 100644 --- a/bashast/bashast.g +++ b/bashast/bashast.g @@ -168,8 +168,8 @@ brace_expansion_part | -> EMPTY_BRACE_EXPANSION_ATOM; commasep: brace_expansion_part(COMMA! brace_expansion_part)+; command_sub - : DOLLAR LPAREN BLANK* pipeline BLANK? RPAREN -> ^(COMMAND_SUB pipeline= ) - | TICK BLANK* pipeline BLANK? TICK -> ^(COMMAND_SUB pipeline) ; + : DOLLAR LPAREN pipeline BLANK? RPAREN -> ^(COMMAND_SUB pipeline) + | TICK pipeline BLANK? TICK -> ^(COMMAND_SUB pipeline) ; //compound commands compound_command : for_expr