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 1Sb6oL-0001Aw-61 for garchives@archives.gentoo.org; Sun, 03 Jun 2012 09:09:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8FBFE07F5; Sun, 3 Jun 2012 09:08:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8AD2EE07F5 for ; Sun, 3 Jun 2012 09:08:43 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31BDE1B400C for ; Sun, 3 Jun 2012 09:08:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CD752E5433 for ; Sun, 3 Jun 2012 09:08:40 +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: <1332750947.7442b34889d4bfc6feca9cdc6d4bc5c881488053.betelgeuse@gentoo> Subject: [gentoo-commits] proj/libbash:master commit in: scripts/, bashast/ X-VCS-Repository: proj/libbash X-VCS-Files: bashast/libbashWalker.g scripts/command_execution.bash X-VCS-Directories: scripts/ bashast/ X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: 7442b34889d4bfc6feca9cdc6d4bc5c881488053 X-VCS-Branch: master Date: Sun, 3 Jun 2012 09:08:40 +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: 92768294-9616-4ac8-ba8d-56cead10fe0a X-Archives-Hash: 09d7a453f59f92f28d4829c74fa3b5a0 commit: 7442b34889d4bfc6feca9cdc6d4bc5c881488053 Author: Mu Qiao gentoo org> AuthorDate: Mon Mar 26 08:09:47 2012 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Mon Mar 26 08:35:47 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D7442b348 Walker: fix single quoted argument handling --- bashast/libbashWalker.g | 1 + scripts/command_execution.bash | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/bashast/libbashWalker.g b/bashast/libbashWalker.g index 95f8a90..5e3fd6e 100644 --- a/bashast/libbashWalker.g +++ b/bashast/libbashWalker.g @@ -282,6 +282,7 @@ string_part returns[std::string libbash_value, bool q= uoted, bool is_raw_string] })*) |(SINGLE_QUOTED_STRING) =3D> ^(SINGLE_QUOTED_STRING node=3DSINGLE_QUOTE= D_STRING_TOKEN) { $libbash_value =3D get_single_quoted_string(node); + $quoted =3D true; } |(ARITHMETIC_EXPRESSION) =3D> ^(ARITHMETIC_EXPRESSION value=3Darithmetics { diff --git a/scripts/command_execution.bash b/scripts/command_execution.b= ash index 0927642..89a0ed7 100644 --- a/scripts/command_execution.bash +++ b/scripts/command_execution.bash @@ -64,6 +64,7 @@ printf "%s %s\n" abc def printf "%s %s\n" $FOO001, def printf "123-%s" 456 789 printf "\n" +printf 'debug-%s ' dvc kbd nla printf "123-%s" ((FOO010=3D1)) echo $FOO010