DescriptionMake multi-line comments not count when checking whether --> is first on a line.
A multi-line comment containing a newline is considered a line-terminator for
other purposes, but a "-->" following such a comment is considered as being
on the same line as the text preceeding the multi-line comment.
This behavior matches JSC matching Firefox.
TEST=cctest/test-parsing/ScanHTMLEndComments
Committed: http://code.google.com/p/v8/source/detail?r=8351
Patch Set 1 #
Total comments: 1
Patch Set 2 : Changed logic as suggested. #
Total comments: 8
Patch Set 3 : Addressed review comments. Refactored scanner classes. #Patch Set 4 : Undid class merge. Different renaming. #Patch Set 5 : Undid too much. #
Messages
Total messages: 5 (0 generated)
|