diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-23 08:37:12 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-23 08:37:24 -0400 |
commit | cee1109d9b53a281ad8c693f796b8edb6789b903 (patch) | |
tree | bd41b7fa736168e3d20bbf47e4c4732d4bea84ca | |
parent | 22d52876b7d0b5a695c981705905c9b52061cbfa (diff) |
fix ampersands in group names in generated binding files
-rwxr-xr-x | tools/fmt-bindings | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/fmt-bindings b/tools/fmt-bindings index 351368fb55..d2dd1adfca 100755 --- a/tools/fmt-bindings +++ b/tools/fmt-bindings @@ -280,9 +280,12 @@ while (<SOURCE>) { $b =~ s/SECONDARY/Secondary-/; $b =~ s/TERTIARY/Tertiary-/; $b =~ s/LEVEL4/Level4-/; - + + $g = $group_names{$gkey}; + $g =~ s/\\&/&/g; + $bref = $owner_bindings{$owner}; - push (@$bref, [ $action, $b, $group_names{$gkey} ]); + push (@$bref, [ $action, $b, $g]); } } |