Changeset 35323 in webkit
- Timestamp:
- Jul 24, 2008 3:16:51 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r35319 r35323 1 2008-07-24 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Alexey Proskuryakov. 4 5 Bug 20142: REGRESSION(r35245): /=/ weirdness 6 <https://bugs.webkit.org/show_bug.cgi?id=20142> 7 8 When adding all the meta data needed for exception error messages 9 I accidentally clobbered the handling of regex beginning with /=. 10 11 * kjs/grammar.y: 12 1 13 2008-07-23 Alp Toker <alp@nuanti.com> 2 14 -
trunk/JavaScriptCore/kjs/grammar.y
r35250 r35323 298 298 if (!l.scanRegExp()) 299 299 YYABORT; 300 RegExpNode* node = new RegExpNode(GLOBAL_DATA, l.pattern(), l.flags());300 RegExpNode* node = new RegExpNode(GLOBAL_DATA, "=" + l.pattern(), l.flags()); 301 301 int size = l.pattern().size() + 2; // + 2 for the two /'s 302 302 SET_EXCEPTION_LOCATION(node, @1.first_column, @1.first_column + size, @1.first_column + size); -
trunk/LayoutTests/ChangeLog
r35321 r35323 1 2008-07-24 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Alexey Proskuryakov. 4 5 Test cases for regex starting with /= 6 7 * fast/js/regexp-divequal-expected.txt: Added. 8 * fast/js/regexp-divequal.html: Added. 9 * fast/js/resources/regexp-divequal.js: Added. 10 1 11 2008-07-23 Julien Chaffraix <jchaffraix@webkit.org> 2 12
Note: See TracChangeset
for help on using the changeset viewer.