summaryrefslogtreecommitdiff
path: root/src/core/load-fragment-gperf-nulstr.awk
blob: b52438abe30893c3d9bdbfef041025f674e8277d (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 ";"
}