Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Unified Diff: Source/bindings/scripts/idl_parser.pm

Issue 124943002: Perl IDL parser: allow extended attributes to have more than 2 values (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/bindings/tests/idls/TestObject.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/idl_parser.pm
diff --git a/Source/bindings/scripts/idl_parser.pm b/Source/bindings/scripts/idl_parser.pm
index a216c242c71da2489816ee179893283c0bb68870..67ea502b7d1f2f82a2b9bd6c9e64d07023d0ed88 100644
--- a/Source/bindings/scripts/idl_parser.pm
+++ b/Source/bindings/scripts/idl_parser.pm
@@ -1631,13 +1631,11 @@ sub parseExtendedAttributeRest3
my $next = $self->nextToken();
if ($next->value() eq "&") {
$self->assertTokenValue($self->getToken(), "&", __LINE__);
- my $rightValue = $self->parseScopedName();
- return $name . "&" . $rightValue;
+ return $name . "&" . $self->parseExtendedAttributeRest2();
Nils Barth (inactive) 2014/01/06 07:09:53 To explain the crypticness: parseExtendedAttribute
}
if ($next->value() eq "|") {
$self->assertTokenValue($self->getToken(), "|", __LINE__);
- my $rightValue = $self->parseScopedName();
- return $name . "|" . $rightValue;
+ return $name . "|" . $self->parseExtendedAttributeRest2();
}
if ($next->value() eq "(") {
my $attr = {};
« no previous file with comments | « no previous file | Source/bindings/tests/idls/TestObject.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698