From 72f72d64a422d6628c4796f5c0bf2e508f134214 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Wed, 4 May 2011 16:05:14 +0900 Subject: Adding upstream version 0.5.1 --- funcname1.awk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 funcname1.awk (limited to 'funcname1.awk') diff --git a/funcname1.awk b/funcname1.awk new file mode 100644 index 0000000..343cf48 --- /dev/null +++ b/funcname1.awk @@ -0,0 +1,10 @@ +BEGIN { n=0 } +/^#/ {next} +{ + if (cmd[$2] == "") { + print "#define FUNCNAME_" $2 " " n; + cmd[$2] = n; + } + n++; +} + -- cgit v1.2.3