repo.or.cz
/
LibreOffice.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
bump product version to 5.0.4.1
[LibreOffice.git]
/
bin
/
gen-iwyu-dummy-lib.awk
blob
464d9515c7ef62f37ee84cc0b7f231a8bbc07d26
1
BEGIN
{
domatch =
0
; }
2
3
{
4
if
(
$
0
~
/
use_external
(
s
)
?
,/ )
5
{
6
if
(
index
(
$
0
,
"))"
))
7
{
8
gsub
(/
.
*,/,
""
);
9
gsub
(/
\
)+/,
""
);
10
if
(
!
(
$
0
in exts
))
11
{
12
exts
[
$
0
];
13
print
$
0
;
14
}
15
}
16
else
17
{
18
domatch =
1
;
19
}
20
}
21
else if
(
$
0
~
/
\
)
\
)/ )
22
{
23
domatch =
0
;
24
}
25
else if
(
domatch ==
1
)
26
{
27
if
(
!
(
$
1
in exts
))
28
{
29
exts
[
$
1
];
30
print
$
1
;
31
}
32
}
33
}
34