diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-11-10 14:44:48 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-11-10 14:44:48 +0100 |
| commit | fb9ae9e41eaf01b3651395fdd450ac1a4743e592 (patch) | |
| tree | 8fb29e9b62d40d6407f082f55a7164775154bf78 /utils/gentransswitch.sh | |
| parent | 04c3ee1f5acac47650be8d0ffbf90e238df0d12b (diff) | |
| download | nissy-core-fb9ae9e41eaf01b3651395fdd450ac1a4743e592.tar.gz nissy-core-fb9ae9e41eaf01b3651395fdd450ac1a4743e592.zip | |
Big changes to the interface
Diffstat (limited to 'utils/gentransswitch.sh')
| -rwxr-xr-x | utils/gentransswitch.sh | 2 |
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 @@ | |||
| 3 | printf '\tswitch (t) {\n' | 3 | printf '\tswitch (t) {\n' |
| 4 | for f in transform_??_???.txt; do | 4 | for 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" |
| 7 | done | 7 | done |
| 8 | printf '\t}\n' | 8 | printf '\t}\n' |
