aboutsummaryrefslogblamecommitdiffstats
path: root/funcname2.awk
blob: 231114ece7664067e87a85ce6f78d27742d4d1c4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                              
BEGIN { n=0 }
/^#/ {next}
{
  if (cmd[$2] == "") {
    print "#define " $2 " " n;
    cmd[$2] = n;
  }
  n++;
}