From: Alon Levy Date: Thu, 29 Mar 2012 21:35:36 +0000 (+0200) Subject: tracetool: dtrace: handle in and next reserved words X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=703e01e6e249e6d0a74e0cbab827b235032ec7f3;p=qemu.git tracetool: dtrace: handle in and next reserved words Signed-off-by: Alon Levy Signed-off-by: Stefan Hajnoczi --- diff --git a/scripts/tracetool b/scripts/tracetool index a279c2c58b..5e77aa243d 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -506,10 +506,12 @@ EOF i=1 for arg in $arglist do - # 'limit' is a reserved keyword - if [ "$arg" = "limit" ]; then - arg="_limit" - fi + # postfix reserved words with '_' + case "$arg" in + limit|in|next|self) + arg="${arg}_" + ;; + esac cat <