diff options
Diffstat (limited to 'WebCore/bindings/scripts/IDLParser.pm')
-rw-r--r-- | WebCore/bindings/scripts/IDLParser.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/WebCore/bindings/scripts/IDLParser.pm b/WebCore/bindings/scripts/IDLParser.pm index e250a4d..927deb9 100644 --- a/WebCore/bindings/scripts/IDLParser.pm +++ b/WebCore/bindings/scripts/IDLParser.pm @@ -329,11 +329,13 @@ sub ParseInterface my $line = $_; $line =~ /$IDLStructure::interfaceParameterSelector/; - my $paramExtendedAttributes = (defined($1) ? $1 : " "); chop($paramExtendedAttributes); - my $paramType = (defined($2) ? $2 : die("Parsing error!\nSource:\n$line\n)")); - my $paramName = (defined($3) ? $3 : die("Parsing error!\nSource:\n$line\n)")); + my $paramDirection = $1; + my $paramExtendedAttributes = (defined($2) ? $2 : " "); chop($paramExtendedAttributes); + my $paramType = (defined($3) ? $3 : die("Parsing error!\nSource:\n$line\n)")); + my $paramName = (defined($4) ? $4 : die("Parsing error!\nSource:\n$line\n)")); my $paramDataNode = new domSignature(); + $paramDataNode->direction($paramDirection); $paramDataNode->name($paramName); $paramDataNode->type($paramType); $paramDataNode->extendedAttributes(parseExtendedAttributes($paramExtendedAttributes)); |