meson: also indent scripts with 8 spaces

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-04-25 08:49:16 -04:00
parent dd6ab3df74
commit b884196cc1
21 changed files with 109 additions and 79 deletions
+9 -5
View File
@@ -1,7 +1,11 @@
BEGIN{ print "const char *dns_type_to_string(int type) {\n\tswitch(type) {" }
BEGIN{
print "const char *dns_type_to_string(int type) {\n\tswitch(type) {"
}
{
printf " case DNS_TYPE_%s: return ", $1;
sub(/_/, "-");
printf "\"%s\";\n", $1
printf " case DNS_TYPE_%s: return ", $1;
sub(/_/, "-");
printf "\"%s\";\n", $1
}
END{
print " default: return NULL;\n\t}\n}\n"
}
END{ print " default: return NULL;\n\t}\n}\n" }