summaryrefslogtreecommitdiffstats
path: root/src/test/test-hashmap-ordered.awk
blob: 10f4386fa4d1374c3462555c2e63c867997e827c (plain)
1
2
3
4
5
6
7
8
9
10
11
BEGIN {
        print "/* GENERATED FILE */";
        print "#define ORDERED"
}
{
        if (!match($0, "^#include"))
                gsub(/hashmap/, "ordered_hashmap");
        gsub(/HASHMAP/, "ORDERED_HASHMAP");
        gsub(/Hashmap/, "OrderedHashmap");
        print
}