summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/scripts/IDLParser.pm
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/scripts/IDLParser.pm')
-rw-r--r--WebCore/bindings/scripts/IDLParser.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bindings/scripts/IDLParser.pm b/WebCore/bindings/scripts/IDLParser.pm
index 3df96ab..e250a4d 100644
--- a/WebCore/bindings/scripts/IDLParser.pm
+++ b/WebCore/bindings/scripts/IDLParser.pm
@@ -259,7 +259,7 @@ sub ParseInterface
my @interfaceMethods = split(/;/, $interfaceData);
foreach my $line (@interfaceMethods) {
- if ($line =~ /attribute/) {
+ if ($line =~ /\Wattribute\W/) {
$line =~ /$IDLStructure::interfaceAttributeSelector/;
my $attributeType = (defined($1) ? $1 : die("Parsing error!\nSource:\n$line\n)"));