diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-03-27 18:19:58 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-03-27 18:19:58 +0100 |
commit | ef999817d7b8d46f87361cd69c13085d8a756023 (patch) | |
tree | 133560d38476c63d7339fc9adf55a9cd74e827e3 | |
parent | baf5b7b4ba13d2c85088de179030c765b764a735 (diff) | |
download | airwindows-lv2-port-ef999817d7b8d46f87361cd69c13085d8a756023.tar.gz airwindows-lv2-port-ef999817d7b8d46f87361cd69c13085d8a756023.tar.bz2 airwindows-lv2-port-ef999817d7b8d46f87361cd69c13085d8a756023.zip |
LV2/makeplugin: Allow non-word chars in param name.
-rw-r--r-- | plugins/LV2/lib/makeplugin/plugin_info.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/LV2/lib/makeplugin/plugin_info.rb b/plugins/LV2/lib/makeplugin/plugin_info.rb index 5b79032..94eda00 100644 --- a/plugins/LV2/lib/makeplugin/plugin_info.rb +++ b/plugins/LV2/lib/makeplugin/plugin_info.rb @@ -109,7 +109,7 @@ module MakePlugin fun = $1 elsif line =~ /^#{@name}::#{@name}/ fun = 'constructor_' - elsif fun == 'getParameterName' and line =~ /case\s+kParam([A-Z])\:\s+vst_strncpy\s*\([^,]*,\s*\"(\w+)\",/ + elsif fun == 'getParameterName' and line =~ /case\s+kParam([A-Z])\:\s+vst_strncpy\s*\([^,]*,\s*\"([^"]+)\",/ @ctrl_ports << { sym: $1, name: $2 } elsif fun == 'constructor_' and line =~ /\{\s*$/ fun = 'constructor' |