include sys/select.h before ex/extern.h
[nvi.git] / perl_scripts / make.pl
blob54a9c86c87a17a53f7a12acb3120e29e1ba14442
1 sub push_tags {
2 my ($fh) = shift;
3 my ($tagq) = $curscr->TagQ("msg");
4 while(<$fh>) {
5 my ($f, $l, $m);
6 if ((($f, $l, $m) = split /:/) >= 2 && -f $f && $l =~ /^\d+$/) {
7 $tagq->Add($f, $l, $m);
10 $tagq->Push();
13 sub make {
14 local (*FH);
15 open FH, "make 2>&1 |";
16 ::push_tags(\*FH);
17 close FH;