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 1Q8Rn6-0006Xk-5J for garchives@archives.gentoo.org; Sat, 09 Apr 2011 06:37:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C5141C002; Sat, 9 Apr 2011 06:36:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1D21F1C002 for ; Sat, 9 Apr 2011 06:36:56 +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 801D91B4027 for ; Sat, 9 Apr 2011 06:36:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C68E680065 for ; Sat, 9 Apr 2011 06:36:54 +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: <19cc04e7c8b61dd7384d850dabcf0e03109fb418.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: 19cc04e7c8b61dd7384d850dabcf0e03109fb418 Date: Sat, 9 Apr 2011 06:36:54 +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: 74b7df19f49b0e4cab165f709e4dc966 commit: 19cc04e7c8b61dd7384d850dabcf0e03109fb418 Author: Petteri R=C3=A4ty petteriraty eu> AuthorDate: Sat Apr 9 06:34:49 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Sat Apr 9 06:34:49 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D19cc04e7 Remove useless arithmetic_part rule --- bashast/bashast.g | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/bashast/bashast.g b/bashast/bashast.g index 20068b5..6230b66 100644 --- a/bashast/bashast.g +++ b/bashast/bashast.g @@ -439,9 +439,7 @@ extended_pattern_match | BANG LPAREN fname (PIPE fname)* RPAREN -> ^(MATCH_NONE fname+); //Arithmetic expansion arithmetic_expansion - : DOLLAR LLPAREN BLANK* arithmetic_part BLANK* RRPAREN -> ^(ARITHMETIC_= EXPRESSION arithmetic_part); -arithmetic_part - : arithmetics; + : DOLLAR LLPAREN BLANK* arithmetics BLANK* RRPAREN -> ^(ARITHMETIC_EXPR= ESSION arithmetics); //The comma operator for arithmetic expansions arithmetics : arithmetic (BLANK!* COMMA! BLANK!* arithmetic)*;