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 1QQe2i-0004XZ-C8 for garchives@archives.gentoo.org; Sun, 29 May 2011 11:20:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 704581C022; Sun, 29 May 2011 11:20:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3F5DA1C022 for ; Sun, 29 May 2011 11:20:07 +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 C3507641D2 for ; Sun, 29 May 2011 11:20:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id CF1B98050C for ; Sun, 29 May 2011 11:20:05 +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: <86299ea48f38459fa038a5c9aca1bc6d3b24f7a6.betelgeuse@gentoo> Subject: [gentoo-commits] proj/libbash:master commit in: bashast/ X-VCS-Repository: proj/libbash X-VCS-Files: bashast/libbashWalker.g X-VCS-Directories: bashast/ X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: 86299ea48f38459fa038a5c9aca1bc6d3b24f7a6 Date: Sun, 29 May 2011 11:20:05 +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: 3fe376335b6e8c3e17bc76a7a7d41a49 commit: 86299ea48f38459fa038a5c9aca1bc6d3b24f7a6 Author: Mu Qiao gentoo org> AuthorDate: Fri May 27 14:06:19 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Sun May 29 11:44:52 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D86299ea4 Walker: rename command_index to condition_index --- bashast/libbashWalker.g | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bashast/libbashWalker.g b/bashast/libbashWalker.g index 39b84c5..f2fba4a 100644 --- a/bashast/libbashWalker.g +++ b/bashast/libbashWalker.g @@ -690,21 +690,21 @@ for_modification =20 while_expr @declarations { - ANTLR3_MARKER command_index; + ANTLR3_MARKER condition_index; bool negate; } :^((WHILE { negate =3D false; } | UNTIL { negate =3D true; }) { // omit the first DOWN token SEEK(INDEX() + 1); =20 - command_index =3D INDEX(); + condition_index =3D INDEX(); while(true) { command_list(ctx); if(walker->get_status() =3D=3D (negate? 0 : 1)) break; command_list(ctx); - SEEK(command_index); + SEEK(condition_index); } // Skip the body and get out seek_to_next_tree(ctx);