Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: test/lexer/cornercases/multiline-and-weird-html-comment.js

Issue 83693002: Experimentar scanner: Unify the API to Scanner API some more. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/lexer/lexer_py.re ('k') | tools/lexer_generator/code_generator.jinja » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/lexer/cornercases/multiline-and-weird-html-comment.js
diff --git a/test/lexer/utf-1.js b/test/lexer/cornercases/multiline-and-weird-html-comment.js
similarity index 89%
copy from test/lexer/utf-1.js
copy to test/lexer/cornercases/multiline-and-weird-html-comment.js
index 2f1ef5209649d4c955c9e0478fd95036e529719c..f16d96f0d428ca44dd5018d91bbfb07cc1e1edba 100644
--- a/test/lexer/utf-1.js
+++ b/test/lexer/cornercases/multiline-and-weird-html-comment.js
@@ -25,7 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// This file is in utf-8 (or rather, ASCII), but doesn't contain any weird
-// characters.
+// The "-->" at the beginning is a weird SpiderMonkey compatibility hack.
-var foobar = 16;
+/* here is a multiline comment with
+a newline*/ --> this is now inside a comment too!
+but --> this is not
« no previous file with comments | « src/lexer/lexer_py.re ('k') | tools/lexer_generator/code_generator.jinja » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698