qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH 2/2] tracetool: dtrace: warn on reserved word usag


From: Alon Levy
Subject: [Qemu-trivial] [PATCH 2/2] tracetool: dtrace: warn on reserved word usage
Date: Wed, 28 Mar 2012 15:32:57 +0200

Signed-off-by: Alon Levy <address@hidden>
---
 scripts/tracetool |    1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/tracetool b/scripts/tracetool
index e7cebf3..d011bb7 100755
--- a/scripts/tracetool
+++ b/scripts/tracetool
@@ -496,6 +496,7 @@ EOF
     do
         # 'limit', 'in' and 'next' are reserved keywords
         if [ "$arg" = "limit" -o "$arg" = "in" -o "$arg" = "next" ]; then
+          echo "reserved word used in line: $1" 1>&2
           arg="_$arg"
         fi
         cat <<EOF
-- 
1.7.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]