Reviewers: Mads Ager,

Description:
Fix compilation errors on some compilers

[email protected]

Please review this at http://codereview.chromium.org/462018

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     test/cctest/test-strings.cc


Index: test/cctest/test-strings.cc
===================================================================
--- test/cctest/test-strings.cc (revision 3400)
+++ test/cctest/test-strings.cc (working copy)
@@ -397,7 +397,7 @@
    static const char* source =
      "function test() {"
      "  var ascii_chars = 'aaaaaaaaaaaaaaaaaaaa';"
-    "  var non_ascii_chars  
= 
'\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234';"
   
//NOLINT
+    "  var non_ascii_chars  
= 
'\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234';"
   
//NOLINT
      "  if (ascii_chars.length != max_length) return 1;"
      "  if (non_ascii_chars.length != max_length) return 2;"
      "  var ascii = Array(max_length + 1);"


-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to