DescriptionRecognize HTMLCloseComment after multiline comment
When the scanner finds a '-->', it's either part of an HTMLCloseComment
or a '--' followed by a '>'. Previously, only a preceding newline would
make it an HTMLCloseComment. Now, a preceding multiline comment also
makes it an HTMLCloseComment. The effect is that now the following is
not a SyntaxError:
x/*
*/-->this is now a comment
BUG=v8:5142
LOG=y
Committed: https://crrev.com/b8668fa84671a6e98b3c79fab2716b92e218c36f
Cr-Commit-Position: refs/heads/master@{#37656}
Patch Set 1 #Patch Set 2 : formatting directives #
Total comments: 1
Patch Set 3 : add more test cases #Patch Set 4 : fix test/webkit/parser-xml-close-comment #
Messages
Total messages: 24 (13 generated)
|