[Webkit-unassigned] [Bug 20142] REGRESSION(r35245): /=/ weirdness

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 24 00:38:18 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20142





------- Comment #4 from oliver at apple.com  2008-07-24 00:38 PDT -------
Ah, whoops, it's fairly obvious just by looking at the diff, spot the error:
-                                            $$ =
createNodeFeatureInfo<ExpressionNode*>(new RegExpNode(GLOBAL_DATA, "=" +
l.pattern(), l.flags()), 0);
+                                            RegExpNode* node = new
RegExpNode(GLOBAL_DATA, l.pattern(), l.flags());
+                                            int size = l.pattern().size() + 2;
// + 2 for the two /'s
+                                            SET_EXCEPTION_LOCATION(node,
@1.first_column, @1.first_column + size, @1.first_column + size);
+                                            $$ =
createNodeFeatureInfo<ExpressionNode*>(node, 0);

Will fix shortly.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list