diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-03-28 14:28:43 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-03-28 14:28:43 +0200 |
commit | efbf9e4784e6cb26c155afa0399ad00287e52b1b (patch) | |
tree | 8e4d7123cf0cc0a00d0772cbab103a9389428395 | |
parent | f857db17523884fbfb2fee2ce161a589ed163f91 (diff) | |
download | airwindows-lv2-port-efbf9e4784e6cb26c155afa0399ad00287e52b1b.tar.gz airwindows-lv2-port-efbf9e4784e6cb26c155afa0399ad00287e52b1b.tar.bz2 airwindows-lv2-port-efbf9e4784e6cb26c155afa0399ad00287e52b1b.zip |
LV2/makeplugin: Fix end of var decl detection.
Detect end of variable decralations in original header file even if end
brace is not first char on line.
-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 94eda00..af74566 100644 --- a/plugins/LV2/lib/makeplugin/plugin_info.rb +++ b/plugins/LV2/lib/makeplugin/plugin_info.rb @@ -87,7 +87,7 @@ module MakePlugin vars = false f.each_line do |line| if vars - if line =~ /^\};$/ + if line =~ /^\s*\};$/ vars = false else @var_decls << line.chomp |