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 1Q7NOY-0003bn-1Z for garchives@archives.gentoo.org; Wed, 06 Apr 2011 07:43:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 465741C059; Wed, 6 Apr 2011 07:43:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 11A8A1C059 for ; Wed, 6 Apr 2011 07:43:09 +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 8D0891B40ED for ; Wed, 6 Apr 2011 07:43:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 84AB180065 for ; Wed, 6 Apr 2011 07:43:08 +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: <37b99d0aabacec4ee882b346dfcefb1abb183f57.betelgeuse@gentoo> Subject: [gentoo-commits] proj/libbash:master commit in: src/core/ X-VCS-Repository: proj/libbash X-VCS-Files: src/core/interpreter.h X-VCS-Directories: src/core/ X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: 37b99d0aabacec4ee882b346dfcefb1abb183f57 Date: Wed, 6 Apr 2011 07:43:08 +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: ed97418e5772b6cf7542848b086b437f commit: 37b99d0aabacec4ee882b346dfcefb1abb183f57 Author: Mu Qiao gentoo org> AuthorDate: Tue Apr 5 11:33:34 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Tue Apr 5 11:33:34 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D37b99d0a Add comment for do_default_expansion --- src/core/interpreter.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/core/interpreter.h b/src/core/interpreter.h index 340828a..c0cc12d 100644 --- a/src/core/interpreter.h +++ b/src/core/interpreter.h @@ -415,6 +415,10 @@ public: members.define(target); } =20 + /// \brief perform ${parameter:=E2=88=92word} expansion + /// \param the name of the parameter + /// \param the value of the word + /// \return the expansion result const std::string do_default_expansion(const std::string& name, const std::string& value) {