Debian Codegraph @

java/lite/lite.awk

raw
1 # Remove code enclosed by "BEGIN FULL-RUNTIME" and "END FULL-RUNTIME" to
2 # create the lite-only version of a test file.
3
4 BEGIN {
5 in_full_runtime = 0;
6 }
7
8 /BEGIN FULL-RUNTIME/ {
9 in_full_runtime = 1;
10 next;
11 }
12
13 /END FULL-RUNTIME/ {
14 in_full_runtime = 0;
15 next;
16 }
17
18 in_full_runtime {
19 # Skip full runtime code path.
20 next;
21 }
22
23 {
24 print;
25 }