Index: Source/bindings/scripts/generate-bindings.pl |
diff --git a/Source/bindings/scripts/generate-bindings.pl b/Source/bindings/scripts/generate-bindings.pl |
index 734042932fa952d983f127c66256f1f3f1c521e1..206afcc0d23f7a44e44dcdc3fed8af5b850af33d 100755 |
--- a/Source/bindings/scripts/generate-bindings.pl |
+++ b/Source/bindings/scripts/generate-bindings.pl |
@@ -300,7 +300,7 @@ sub checkIfIDLAttributesExists |
if ($idlAttributes->{$name}{"*"}) { |
next; |
} |
- for my $rightValue (split /\s*\|\s*/, $extendedAttributes->{$name}) { |
+ for my $rightValue (split /\s*[|&]\s*/, $extendedAttributes->{$name}) { |
if (!exists $idlAttributes->{$name}{$rightValue}) { |
$error = "Unknown IDL attribute [$name=" . $extendedAttributes->{$name} . "] is found at $idlFile."; |
last OUTER; |