Revision: 3402 Author: [email protected] Date: Thu Dec 3 00:32:04 2009 Log: Fix compilation errors on some compilers
[email protected] Review URL: http://codereview.chromium.org/462018 http://code.google.com/p/v8/source/detail?r=3402 Modified: /branches/bleeding_edge/test/cctest/test-strings.cc ======================================= --- /branches/bleeding_edge/test/cctest/test-strings.cc Wed Dec 2 23:56:21 2009 +++ /branches/bleeding_edge/test/cctest/test-strings.cc Thu Dec 3 00:32:04 2009 @@ -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
