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