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 1Q8Xuu-0001bU-8O for garchives@archives.gentoo.org; Sat, 09 Apr 2011 13:09:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 697CD1C025; Sat, 9 Apr 2011 13:09:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3C0C21C025 for ; Sat, 9 Apr 2011 13:09:00 +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 9F5151B4087 for ; Sat, 9 Apr 2011 13:08:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A789C80072 for ; Sat, 9 Apr 2011 13:08:58 +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: <176fd53977abedfc884aeb064a0775b4fc9c650b.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: 176fd53977abedfc884aeb064a0775b4fc9c650b Date: Sat, 9 Apr 2011 13:08:58 +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: dc5c665981ff1187d2ebe773f05389fc commit: 176fd53977abedfc884aeb064a0775b4fc9c650b Author: Mu Qiao gentoo org> AuthorDate: Fri Apr 8 14:36:33 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Sat Apr 9 13:02:52 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D176fd539 Add comment for list_level_2 --- bashast/bashast.g | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/bashast/bashast.g b/bashast/bashast.g index 7e653df..88f02b8 100644 --- a/bashast/bashast.g +++ b/bashast/bashast.g @@ -90,6 +90,7 @@ options{greedy=3Dfalse;} : list_level_2 -> ^(LIST list_level_2); list_level_1 : (function|pipeline) (BLANK!*(LOGICAND^|LOGICOR^)BLANK!* (function|pip= eline))*; +// ';' '&' and EOL have lower operator precedence than '&&' and '||' so = we need level2 here list_level_2 : list_level_1 ((BLANK!?';'!|BLANK!?'&'^|(BLANK!? EOL!)+)BLANK!? list_l= evel_1)*; pipeline