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 1Q6362-0002LK-KN for garchives@archives.gentoo.org; Sat, 02 Apr 2011 15:50:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A1B81C042; Sat, 2 Apr 2011 15:50:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CFE081C042 for ; Sat, 2 Apr 2011 15:50:29 +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 725151B4035 for ; Sat, 2 Apr 2011 15:50:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C84DB8006D for ; Sat, 2 Apr 2011 15:50:28 +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: <73e07bf1dd111519ddecd79c19c77d64851458e9.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: 73e07bf1dd111519ddecd79c19c77d64851458e9 Date: Sat, 2 Apr 2011 15:50:28 +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: 4fb0a82bcb2d855a34844b9105509024 commit: 73e07bf1dd111519ddecd79c19c77d64851458e9 Author: Mu Qiao gentoo org> AuthorDate: Sat Apr 2 00:52:13 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Sat Apr 2 00:52:13 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D73e07bf1 Add a start rule for the tree walker grammar --- bashast/libbashWalker.g | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/bashast/libbashWalker.g b/bashast/libbashWalker.g index ebb23fe..95c2ff3 100644 --- a/bashast/libbashWalker.g +++ b/bashast/libbashWalker.g @@ -41,6 +41,8 @@ void set_interpreter(std::shared_ptr w) } } =20 +start: list|EOF; + list: ^(LIST var_def+); =20 name returns[std::string libbash_value]: