Merge pull request #615 from avdg/unicode

Give parser more unicode support
This commit is contained in:
Mihai Bazon
2015-01-20 13:00:31 +02:00
2 changed files with 25 additions and 2 deletions

17
test/compress/unicode.js Normal file
View File

@@ -0,0 +1,17 @@
unicode_parse_variables: {
options = {};
input: {
var a = {};
a.你好 = 456;
var ↂωↂ = 123;
var l = 3; // 2nd char is a unicode digit
}
expect: {
var a = {};
a.你好 = 456;
var ↂωↂ = 123;
var l = 3;
}
}