Debian Codegraph @

test/profile10.awk

raw
1 BEGIN { # Comment 0
2 if (1) { # Comment 1
3 print "ABC" # Comment2
4 } else { # Comment 3
5 print "XYZ" # Comment 4
6 } # Comment 5
7
8 while (c == d) { # Comment 6
9 print "DEF" # Comment 7
10 } # Comment 8
11
12 do { # Comment 9
13 print "GHI" # Comment 10
14 } while (e == f) # Comment 11
15
16 for (i in data) { # Comment 12
17 print "JKL" # Comment 13
18 } # Comment 14
19
20 for (z = 1; z <= 10; z++) { # Comment 15
21 print "MNO" # Comment 16
22 } # Comment 17
23
24 switch (q) { # Comment 18
25 case "a": # Comment 19
26 case "b":
27 # Comment 20
28 break # Comment 21
29 default: # Comment 22
30 break # Comment 23
31 } # Comment 24
32
33 if (1) {
34 print "foo"
35 } # Comment 25
36
37 if (2) {
38 print "bar"
39 }
40 # Comment 26
41 }
42 # Comment 27