filters now have a name

This commit is contained in:
2020-12-30 14:42:44 +01:00
parent 1693ad9051
commit a31e51a234
12 changed files with 178 additions and 96 deletions

View File

@@ -1,13 +1,19 @@
#!/usr/bin/awk -f
BEGIN {
print "// generated file, do not edit by hand"
print "// -----------------------------------"
print "// generated file, do not edit by hand";
print "// -----------------------------------"
print "Crapulor CrapL[] = {";
}
{
printf "char str_%s[] = \"%s\" ;\t\t// %d\n", $2, $2, $1
printf " { CR_%s, \"%s\", %d, %f }, // id=%d\n",
$2, $2, $3, $4, $1;
}
END {
print " { -1, NULL }"
print " };"
print "// generated file, do not edit by hand"
}