summaryrefslogtreecommitdiffstats
path: root/src/core/load-fragment-gperf-nulstr.awk
blob: 44bc1fb69823bfb75b4dc61b29c8ac7c3675eaf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
BEGIN{
        keywords=0 ; FS="," ;
        print "extern const char load_fragment_gperf_nulstr[];" ;
        print "const char load_fragment_gperf_nulstr[] ="
}
keyword==1 {
        print "\"" $1 "\\0\""
}
/%%/ {
        keyword=1
}
END {
        print ";"
}