Index: Source/bindings/scripts/idl_parser.pm |
diff --git a/Source/bindings/scripts/idl_parser.pm b/Source/bindings/scripts/idl_parser.pm |
index 67ea502b7d1f2f82a2b9bd6c9e64d07023d0ed88..3ede609bbebb4f0a946707a7f396d617b25479c9 100644 |
--- a/Source/bindings/scripts/idl_parser.pm |
+++ b/Source/bindings/scripts/idl_parser.pm |
@@ -1620,6 +1620,12 @@ sub parseExtendedAttributeRest2 |
my $token = $self->getToken(); |
return $token->value(); |
} |
+ # A Blink syntactic extension to allow string literals. |
+ # The string quotes aren't kept. |
+ if ($next->type() == StringToken) { |
+ my $token = $self->getToken(); |
+ return $self->parseExtendedAttributeRest3($self->unquoteString($token->value())); |
+ } |
$self->assertUnexpectedToken($next->value(), __LINE__); |
} |