CureApp / faster-titanium

Accelerate Titanium development
MIT License
46 stars 6 forks source link

Faster does not work when use multibyte character literal in alloy.js #32

Closed isseium closed 8 years ago

isseium commented 8 years ago

Hi, @shinout.

Please try to compile following code in alloy.js.

var hoge = "あいうえお";

A simulator shows me "Unexpected EOF";

I think same reason as Unexpected token ';' bug (I reported @shinout a few days ago.)

FYI:

In my project, we use multibyte literal. I tried to compile after following process in my project.

$ LC_ALL=C grep -v '[^ -~]' alloy.js > hoge.js                    # remove multibyte lines
$ mv hoge.js alloy.js

And then Faster does works!

shinout commented 8 years ago

Thanks for report. Also reproducted in my environment. I'll fix it.

shinout commented 8 years ago

fixed in 07d0396b275474fa55751bdc1a66f383a130cd2b

isseium commented 8 years ago

Thanks! I just tried to compile. It looks good to me!!!