Don't define exp2 inline.
[glibc/history.git] / manual / xtract-typefun.awk
blob2f0bbc748e4b981b532f1e5c8db52506be56fd2c
1 #! /usr/local/bin/gawk -f
2 BEGIN {
3 last_node="";
6 /^@node/ {
7 last_node = gensub (/@node +([^@,]+).*/, "\\1", 1);
10 /^@deftypefun/ {
11 printf ("* %s: (libc)%s.\n",
12 gensub (/@deftypefunx? +([^{ ]+|\{[^}]+\}) +([[:alpha:]_][[:alnum:]_]*).*/, "\\2", 1),
13 last_node);
16 /^@deftypevr/ {
17 printf ("* %s: (libc)%s.\n",
18 gensub (/@deftypevrx? +([^{ ]+|\{[^}]+\}) +([^{ ]+|\{[^}]+\}) +([[:alpha:]_][[:alnum:]_]*).*/, "\\3", 1),
19 last_node);
22 /^@deftypefn/ {
23 printf ("* %s: (libc)%s.\n",
24 gensub (/@deftypefnx? +([^{ ]+|\{[^}]+\}) +[^{ ]*(\{[^}]+\})? +([[:alpha:]_][[:alnum:]_]*).*/, "\\3", 1),
25 last_node);