aboutsummaryrefslogtreecommitdiff
path: root/utils/gentransswitch.sh
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-11-10 14:44:48 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-11-10 14:44:48 +0100
commitfb9ae9e41eaf01b3651395fdd450ac1a4743e592 (patch)
tree8fb29e9b62d40d6407f082f55a7164775154bf78 /utils/gentransswitch.sh
parent04c3ee1f5acac47650be8d0ffbf90e238df0d12b (diff)
downloadnissy-core-fb9ae9e41eaf01b3651395fdd450ac1a4743e592.tar.gz
nissy-core-fb9ae9e41eaf01b3651395fdd450ac1a4743e592.zip
Big changes to the interface
Diffstat (limited to '')
-rwxr-xr-xutils/gentransswitch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gentransswitch.sh b/utils/gentransswitch.sh
index 6883973..a08dff9 100755
--- a/utils/gentransswitch.sh
+++ b/utils/gentransswitch.sh
@@ -3,6 +3,6 @@
3printf '\tswitch (t) {\n' 3printf '\tswitch (t) {\n'
4for f in transform_??_???.txt; do 4for f in transform_??_???.txt; do
5 t="$(echo $f | sed 's/.*_// ; s/\.txt//')" 5 t="$(echo $f | sed 's/.*_// ; s/\.txt//')"
6 printf '\tcase %s:\n\t\treturn inline_trans_%s(c);\n' "$t" "$t" 6 printf '\tcase %s:\n\t\treturn _trans_%s(c);\n' "$t" "$t"
7done 7done
8printf '\t}\n' 8printf '\t}\n'

Generated with cgit - Back to sebastiano.tronto.net