From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCtpR-00028E-JY for qemu-devel@nongnu.org; Wed, 28 Mar 2012 10:26:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCtpP-0006E2-SG for qemu-devel@nongnu.org; Wed, 28 Mar 2012 10:26:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCtpP-0006Do-KX for qemu-devel@nongnu.org; Wed, 28 Mar 2012 10:26:23 -0400 From: Alon Levy Date: Wed, 28 Mar 2012 16:26:15 +0200 Message-Id: <1332944776-4037-1-git-send-email-alevy@redhat.com> In-Reply-To: <20120328131634.GY32389@garlic> References: <20120328131634.GY32389@garlic> Subject: [Qemu-devel] [PATCH 1/2] tracetool: dtrace: handle in and next reserved words List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Stefan Hajnoczi Cc: =?UTF-8?q?Llu=C3=ADs=20Vilanova?= Signed-off-by: Alon Levy --- scripts/tracetool | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/tracetool b/scripts/tracetool index 65bd0a1..e7cebf3 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -494,9 +494,9 @@ EOF i=1 for arg in $arglist do - # 'limit' is a reserved keyword - if [ "$arg" = "limit" ]; then - arg="_limit" + # 'limit', 'in' and 'next' are reserved keywords + if [ "$arg" = "limit" -o "$arg" = "in" -o "$arg" = "next" ]; then + arg="_$arg" fi cat <