File: funcname1.awk

package info (click to toggle)
w3m 0.5.1-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 9,268 kB
  • ctags: 5,426
  • sloc: ansic: 55,106; perl: 4,254; sh: 3,501; makefile: 844; ruby: 776; awk: 40; sed: 16
file content (10 lines) | stat: -rw-r--r-- 122 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
BEGIN { n=0 }
/^#/ {next}
{
  if (cmd[$2] == "") {
    print "#define FUNCNAME_" $2 " " n;
    cmd[$2] = n;
  }
  n++;
}