diff options
Diffstat (limited to '')
-rw-r--r-- | funcname0.awk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/funcname0.awk b/funcname0.awk new file mode 100644 index 0000000..9a9152f --- /dev/null +++ b/funcname0.awk @@ -0,0 +1,13 @@ +BEGIN { + print "FuncList w3mFuncList[] = {"; + n = 0; +} +/^#/ { next } +{ + print "/*" n "*/ {\"" $1 "\"," $2 "},"; + n++; +} +END { + print "{ NULL, NULL }" + print "};" +} |