repo.or.cz
/
nvi.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
include sys/select.h before ex/extern.h
[nvi.git]
/
perl_scripts
/
make.pl
blob
54a9c86c87a17a53f7a12acb3120e29e1ba14442
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
);
8
}
9
}
10
$tagq
->
Push
();
11
}
12
13
sub
make
{
14
local
(*
FH
);
15
open
FH
,
"make 2>&1 |"
;
16
::
push_tags
(
\
*
FH
);
17
close
FH
;
18
}
19
20
1
;