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

Unified Diff: test/lexer/latin1-1.js

Issue 81053002: Experimental. More test files for latin1, fixed utf tests. (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 | « no previous file | test/lexer/utf-1.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/lexer/latin1-1.js
diff --git a/test/lexer/utf-3.js b/test/lexer/latin1-1.js
similarity index 85%
copy from test/lexer/utf-3.js
copy to test/lexer/latin1-1.js
index 8ebe1e4a7a301fd20453575239940aa1096eab8a..bf0d39a470c89621f809402b6e5d1584f6d1f957 100644
--- a/test/lexer/utf-3.js
+++ b/test/lexer/latin1-1.js
@@ -25,14 +25,16 @@
// (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-16, and contains weird characters in strings and
-// comments.
+// This file is in latin1, and contains weird letters.
-var here_it_is = "☃";
-var here_too = '☃';
+// ö is ok in identifiers.
+var fööbar = 16; // ö in latin1, but not in ascii.
-// And inside a comment: ☃
+var inside_strings = "ö";
+var inside_strings2 = 'ö';
-/* And a multi-line comment ☃ */
+// And inside a comment: ö
-<!-- And an html comment ☃ -->
+/* And a multi-line comment ö */
+
+<!-- And an html comment ö -->
« no previous file with comments | « no previous file | test/lexer/utf-1.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698