.
[glibc/history.git] / hurd / hurdintr.awk
blobd03940985c1543dbb987f4d2d2db1d79b432f070
1 BEGIN { intr=0; wantcall=0; calls=""; }
3 $1 == "/*" && $2 == "INTR" && $3 == "*/" { intr=1; }
5 NF == 1 && $1 == "routine" { wantcall=1; next; }
7 intr != 0 && wantcall == 0 && NF >= 2 && $1 == "routine" \
9 if (substr($2, length($2)-2, 1) == "(")
10 calls = calls " " substr($2, 0, length($2)-1);
11 else calls = calls " " $2;
12 intr=0;
15 wantcall != 0 && NF >= 1 \
17 if (substr($1, length($1)-2, 1) == "(")
18 calls = calls " " substr($1, 0, length($1)-1);
19 else calls = calls " " $1;
20 intr=0;
23 { wantcall=0; }
25 END { print varname " :=" calls; }