ref: 84b8c6bb8409ba6d693f0080af2e2eaccfa3a718
parent: 2080cb98da1c8c9b6217625198a96a11d04f7e8c
author: Sigrid Haflínudóttir <[email protected]>
date: Mon Dec 30 08:40:23 EST 2019
gen.sh: fix for more SIG* variants
--- a/gen.sh
+++ b/gen.sh
@@ -7,6 +7,6 @@
# mark "dsp", "samplingFreq", and "inputs" args as USED
faust -lang c -a arch.c -cn $class $@ $i -o /dev/stdout \
| sed 's/new\([^(]*\)() /new\1(void) /' \
- | sed 's/'$class'[A-Z0]*\* dsp.*{/&\n\tUSED(dsp);/g' \
+ | sed 's/'$class'[A-Z0-9]*\* dsp.*{/&\n\tUSED(dsp);/g' \
| sed 's/ \(samplingFreq\|inputs\).*{/&\n\tUSED(\1);/g' > $i.c
done